Path: utzoo!utgpu!cs.utexas.edu!sdd.hp.com!decwrl!amdcad!sono!porky!mayer From: mayer@sono.uucp (Ronald &) Newsgroups: alt.sources Subject: Re: Small introspective program [The winner?] Message-ID: Date: 19 Mar 91 19:12:59 GMT Sender: mayer@sono.uucp (Ronald Mayer) Organization: Acuson; Mountain View, California Lines: 21 Actually, this is the shortest introspective (at least using the definitions used in this thread) I've found. Can anyone do better: [189]porky:~% [189]porky:~% touch the_prog [190]porky:~% chmod +x the_prog [191]porky:~% the_prog > the_output [192]porky:~% diff the_prog the_output [193]porky:~% wc the_prog 0 0 0 the_prog [194]porky:~% [194]porky:~% ls -l the_prog -rwxr-xr-x 1 mayer 0 Mar 19 13:09 the_prog This executable null-file produces no output. Does this count? [BTW: what language is it using; I suspect it's a "sh" script, but I can't really tell. Note: similar versions exist for basic, lisp, and probably many other languages as well.] Ron Mayer