home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3052 < prev    next >
Encoding:
Internet Message Format  |  1991-03-15  |  970 b 

  1. From: scotth@corp.sgi.com (Scott Henry)
  2. Newsgroups: comp.lang.c,alt.sources
  3. Subject: Re: Small introspective program
  4. Message-ID: <SCOTTH.91Mar12125443@harlie.corp.sgi.com>
  5. Date: 12 Mar 91 12:54:43 GMT
  6.     <1991Mar12.050929.2870@research.canon.oz.au>
  7. Sender: news@odin.corp.sgi.com (Net News)
  8. Reply-To: scotth@sgi.com (Scott Henry)
  9. Organization: Silicon Graphics Inc, Mountain View, CA
  10. Lines: 20
  11. In-Reply-To: andy@research.canon.oz.au's message of 12 Mar 91 05:09:29 GMT
  12.  
  13.  
  14. andy> The smaller the better! In many interpreted BASIC's of years ago you
  15. andy> could do:
  16.  
  17. andy>     1 LIST
  18.  
  19. andy> Which when RUN would produce:
  20.  
  21. andy>     1 LIST
  22.  
  23. andy> (Using a single digit line number to make it as small as possible).
  24.  
  25. And in any sh|csh|tcsh on unix, this one is about as short as you can get:
  26.  
  27.         cat $0
  28.  
  29. --
  30.  Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
  31.  Information Services,       / Help! My disclaimer is missing!
  32.  Silicon Graphics, Inc      / Politicians no baka!
  33.