Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!drutx!houxe!hogpc!houti!ariel!vax135!cornell!uw-beaver!tektronix!hplabs!hpda!fortune!amd!decwrl!decvax!cwruecmp!atvax!ncoast!bsafw From: bsafw@ncoast.UUCP Newsgroups: net.unix-wizards Subject: Re: /bin/sh feature? Message-ID: <182@ncoast.UUCP> Date: Tue, 31-Jul-84 00:45:53 EDT Article-I.D.: ncoast.182 Posted: Tue Jul 31 00:45:53 1984 Date-Received: Sun, 22-Jul-84 03:13:03 EDT References: <1370@ucf-cs.UUCP> <195@callan.UUCP> Organization: North Coast XENIX, Cleveland Lines: 18 The EOF being taken as a terminating quote, I agree is bad practice. But I have had to invoke a subshell of /bin/sh (I normally run csh) to do the following: awk '$1 ~ /something/ {do_something} $1 ~ /something_else/ {do_something_else} ' outfile because awk requires them on separate lines and because it was a one-time job and I didn't want to have to create a file to -f with. Just because you're a Berkeley freak, don't deride useful features of the "old" shell! :-) (the above probably belongs in net.flame; your turn with the napalm...) -- Brandon Allbery: decvax!cwruecmp{!atvax}!bsafw 6504 Chestnut Road, Independence, OH 44131 Witness, n. To watch and learn, joyously.