Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!cbmvax!grr From: grr@cbmvax.commodore.com (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: awk -f - in Ultrix 4.0 Message-ID: <20134@cbmvax.commodore.com> Date: 26 Mar 91 18:59:32 GMT References: <20082@cbmvax.commodore.com> <1991Mar20.171431.13307@math.ucla.edu> <4678@osc.COM> <2182@riscy.enet.dec.com> Reply-To: grr@cbmvax.commodore.com (George Robbins) Organization: Commodore, West Chester, PA Lines: 31 In article <2182@riscy.enet.dec.com> frank@croton.nyo.dec.com (Frank Wortner) writes: > 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." Which version of Ultrix adopts nawk? My info pertained to the standard AT&T version (SVR3.2 I think) that I tried to port to Ultrix... The Ultrix man page doesn't seem to match that or the SVr4 man page, which is still ambiguous as to wheter the - applies to the -f, or just "input". Does the "-f -" really work, or did some Ultrix person attempt to clarify the man page and succeed in telling a lie. 8-) -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing: domain: grr@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)