Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards Subject: who needs cat? (was: Re: How do you tell a wizard?) Keywords: pronunciation, editors, reporters, photographers, newspaper, `Woof!' Message-ID: <3839@solo9.cs.vu.nl> Date: 26 Oct 89 19:53:57 GMT References: <21251@adm.BRL.MIL> <4282@deimos.cis.ksu.edu> <1958@cs-spool.calgary.UUCP> <20408@mimsy.umd.edu> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 40 kilroy@mimsy.umd.edu (Nancy's Fiance) writes: \... \Anyway, in article <1958@cs-spool.calgary.UUCP> cliff@cpsc.ucalgary.ca \ (Cliff Marcellus) writes: \>In article <4282@deimos.cis.ksu.edu>, brtmac@hobbes.ksu.ksu.edu \> (Brett McCoy) writes: \>> \>> Wizards do everything right the first time, hence the lack of need for \>> any editor. They do all of their file creation with cat(1V). \> \> Gee. Did Dennis Ritchie simply do a : \> \> % cat > vmunix.c \ \Actually it was: \ \% cat > vmunix.s I can see you aren't wizards at all! :-) You see, back in the old days ld(1) read from stdin if no files were specified, so all Ritchie & Thompson had to do behind their frontpanels was: $ ld -o /unix ^D $ reboot Nowadays this behavior is mimicked somewhat by: % ln -s /dev/tty c.c % cc c.c main(){printf("Hello, UNIX\n");} ^D % a.out Under V7 the link was unnecessary, because cc(1) accepted input on stdin too. Grrrrr, BSD! -- A symbolic link is a POINTER to a file, | Maarten Litmaath @ VU Amsterdam: a hard link is the file system's GOTO. | maart@cs.vu.nl, mcsun!botter!maart