Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!mit-eddie!uw-beaver!Teknowledge.COM!unix!garth!walter From: walter@garth.UUCP (Walter Bays) Newsgroups: comp.unix.shell Subject: Re: A question on [a,ga,na]wk. Message-ID: <14@garth.UUCP> Date: 14 Dec 90 01:53:59 GMT References: Reply-To: walter@garth.UUCP (Walter Bays) Distribution: comp.unix.shell Organization: INTERGRAPH (APD) -- Palo Alto, CA Lines: 22 In article bt00@PL118d.? (Binod K. Taterway) writes: >Is it possible to make use of c-shell variables in [g,n]awk scripts. I often do it like... #!/bin/ksh Tempfile="c4sim.tmp$$" ... nawk ' ... print ... >$Tempfile ... ' "Tempfile=$Tempfile" "Version=$Version" $* --- Walter Bays Phone (415) 852-2384 FAX (415) 856-9224 EMAIL walter@apd.ingr.com USPS: Intergraph APD, 2400 Geng Road, Palo Alto, California 94303 -- Walter Bays Phone (415) 852-2384 FAX (415) 856-9224 EMAIL walter@apd.ingr.com or ...!ingr!apd!walter USPS: Intergraph APD, 2400 Geng Road, Palo Alto, California 94303