Newsgroups: comp.unix.questions Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!fitz From: fitz@mml0.meche.rpi.edu (Brian Fitzgerald) Subject: Re: awk format pgm Message-ID: Summary: Try new awk Nntp-Posting-Host: mml0.meche.rpi.edu Organization: Rensselaer Polytechnic Institute, Troy NY References: <1991Apr12.235602.5861@ecst.csuchico.edu> Distribution: usa Date: 13 Apr 91 14:28:53 GMT Lines: 18 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