Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!ogicse!milton!sumax!polari!gcs From: gcs@polari.UUCP (Greg Sheppard) Newsgroups: comp.unix.shell Subject: Exporting Awk Variables? Keywords: awk export variables Message-ID: <4255@polari.UUCP> Date: 27 May 91 15:13:19 GMT Organization: Seattle Online Public Unix (206) 328-4944 Lines: 15 This is probably a repeat question but the thread scrolled by (at least I think I remember something along the same lines awhile back). Is it possible to export a variable within awk so the variable could be used by a shell script? I have an awk script which increments a variable "i". When awk is finished I'd like to pass the value of "i" to the same shell script which calls awk. Email responses would be fine or if someone could point me to a location where comp.unix.shell is archived...I can try to look it up. Thanks! -- Greg Sheppard Internet: imop@wa-ngnet.army.mil WAARNG, Tacoma, WA, USA UUCP: ...!polari!gcs Voice: +1 206 581 8924 --