awk -f - in Ultrix 4.0
Frank Wortner
frank at croton.nyo.dec.com
Thu Mar 28 02:55:57 AEST 1991
In article <20134 at cbmvax.commodore.com>, grr at cbmvax.commodore.com
(George Robbins) writes:
> Which version of Ultrix adopts nawk?
4.0
> Does the "-f -" really work, or did some Ultrix person attempt to clarify
> the man page and succeed in telling a lie. 8-)
Would I lie to you? ;-)
It really works. Here's a trivial example. Notice that I typed the program on
standard input.
Script started on Wed Mar 27 11:50:37 1991
$ nawk -f - /etc/hosts
$1 !~ /#/ {
print $1
}
^D127.0.0.1
16.69.128.12
16.69.128.17
16.69.128.242
16.70.192.1
16.69.128.21
$
script done on Wed Mar 27 11:51:09 1991
More information about the Comp.unix.ultrix
mailing list