Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.misc Subject: Re: passing arguments to awk scripts Message-ID: <1991Mar10.082124.9416@convex.com> Date: 10 Mar 91 08:21:24 GMT References: <1991Mar9.212943.1961@casbah.acns.nwu.edu> <10094@uwm.edu> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Distribution: na Organization: CONVEX Software Development, Richardson, TX Lines: 11 Nntp-Posting-Host: pixel.convex.com From the keyboard of datta@vacs.uwp.wisc.edu (David Datta): :Can it be done? Is there a way I can address a :command line argument within the script? 1. Sure -- just run it through the awk-to-perl translator. 2. Actually, gawk and nawk will also let you get at them, although awk won't. Check your man page; if all you have is awk, return to step one. You might even find some other features there. :-) --tom