awk format pgm

Brian Fitzgerald fitz at mml0.meche.rpi.edu
Sun Apr 14 00:28:53 AEST 1991


David Barrett writes:

I have taken an awk script from page 120 of The Awk
>Programming Language, by Aho, Kernighan and Weinberger, and tried to get
>it to work.  No luck.

...
>function addword(w) {
 ^^^^^^^^
...

You need new awk.  A public domain implementation version called "gawk"
(for gnu awk) is available by anonymous ftp from prep.ai.mit.edu in
/pub/gnu.  You may also need bison and gcc to compile gawk, and tex to
print the manual, so it might be simpler just get gawk from your site
gnu guru.

Brian



More information about the Comp.unix.questions mailing list