Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!hp4nl!telmail!neabbs!richard
From: richard@neabbs.UUCP (RICHARD RONTELTAP)
Newsgroups: comp.unix.xenix
Subject: awk
Message-ID: <218001@neabbs.UUCP>
Date: 28 Sep 89 23:46:14 GMT
Organization: NEABBS multi-line BBS +31-20-717666 (13x), Amsterdam, Holland
Lines: 18

Help! I need to finish an AWK program yesterday, but can't get it to
pass parameters.
 
For example:
awk 'BEGIN {print x}' x=foo
should print 'foo' and start reading stdin, but it prints an empty
line and terminates.
 
I'm using AWK from XENIX /386 2.2.3. When I type 'awk' without any
arguments, the usage line says nothing about parameters. Maybe it just
isn't built in (yet)?
 
I haven't got the Text Processing System so please tell me anything
usefull you can find in that manual.
 
T.i.a. for comments,
Richard
(...!hp4nl!neabbs!richard)