Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!ogccse!littlei!omepd!merlyn From: merlyn@intelob.intel.com (Randal L. Schwartz @ Stonehenge) Newsgroups: comp.unix.questions Subject: gawk (was Re: variables in awk) Summary: GNU awk does it too Message-ID: <4352@omepd.UUCP> Date: 28 Apr 89 18:53:28 GMT References: <10029@burdvax.PRC.Unisys.COM> <63720003@hpl-opus.HP.COM> Sender: news@omepd.UUCP Reply-To: merlyn@intelob.intel.com (Randal L. Schwartz @ Stonehenge) Organization: Stonehenge; netaccess via BiiN, Hillsboro, Oregon, USA Lines: 20 In-reply-to: steinbac@hpl-opus.HP.COM (Gunter Steinbach) In article <63720003@hpl-opus.HP.COM>, steinbac@hpl-opus (Gunter Steinbach) writes: | And sure enough, the last two input lines produced a "match" output. So | no problemo! | | However, I also tried the above with the "old" awk, and it produces a | "syntax error near line line". So you need the AT&T toolbox "nawk". Or, you can get the relatively free GNU awk, which supports an identical mechanism (in an apparently compatible syntax, amazing! :-) (Why do I keep being the one to tell people about GNU software... oh well...) Just another hacker, -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095===\ { on contract to BiiN, Hillsboro, Oregon, USA, until 30 May 1989 } { ...!uunet!tektronix!biin!merlyn } { or try after 30 May 1989 } \=Cute quote: "Welcome to Oregon... home of the California Raisins!"=/