[alt.sources] Small introspective program The winner?

mayer@sono.uucp (Ronald &) (03/20/91)

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