Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!shlump.nac.dec.com!riscy.enet.dec.com!croton.nyo.dec.com!frank From: frank@croton.nyo.dec.com (Frank Wortner) Newsgroups: comp.unix.ultrix Subject: Re: awk -f - in Ultrix 4.0 Message-ID: <2182@riscy.enet.dec.com> Date: 26 Mar 91 14:04:50 GMT References: <20082@cbmvax.commodore.com> <1991Mar20.171431.13307@math.ucla.edu> <4678@osc.COM> Sender: newsdaemon@riscy.enet.dec.com Reply-To: frank@croton.nyo.dec.com (Frank Wortner) Organization: Digital Equipment Corporation Lines: 19 In article <20082@cbmvax.commodore.com>, grr@cbmvax.commodore.com (George Robbins) writes: > It is also mildly amusing to note that nawk doesn't support "-f -" ... but the ULTRIX nawk man page explicitly says that it does: "There are two ways to specify the nawk program: (a) ... (b) By using the -f programfile option (where programfile con- tains the nawk program). More than one -f option can appear on the command line. The program will consist of the con- catenation of the contents of all the specified program- files. You can use - in place of a file name, to obtain input from the standard input." Frank