Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-athena.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!harpo!decvax!mit-athena!jc From: jc@mit-athena.UUCP (John Chambers) Newsgroups: net.unix,net.bugs Subject: Re: Creating :->file Message-ID: <192@mit-athena.UUCP> Date: Thu, 25-Apr-85 16:16:05 EST Article-I.D.: mit-athe.192 Posted: Thu Apr 25 16:16:05 1985 Date-Received: Sat, 27-Apr-85 06:11:04 EST References: <173@tut.UUCP> Organization: MIT Project Athena Lines: 33 Xref: watmath net.unix:4350 net.bugs:632 > Come on, the only real way to do it is: > :-> file > Credit to: Jyrki Yli-Nokari > ...mcvax!enea!tut!jty No sooner said than done! This struck me as a real good idea, so I quit from readnews and typed: cat >:-.c main(){return 0;} ^D cc -o :- :-.c After a brief pause, I checked and found a garbage file called "test", so I typed: :->test :->footest ls -l *test and it showed that "test" and "footest" both existed, and were empty. Thanks a lot for the idea for the new system utility! The only problem is that, on Berkeley Unix, I can't rcp the source file to another system. The ':' in the name causes really bizzarre behavior. Oh well.... -- John Chambers [...!decvax!mit-athena] He who has made no mistakes has probably made nothing at all.