awk -f - in Ultrix 4.0

Frank Wortner frank at croton.nyo.dec.com
Wed Mar 27 00:04:50 AEST 1991


In article <20082 at cbmvax.commodore.com>, grr at 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



More information about the Comp.unix.ultrix mailing list