Exporting Awk Variables?

Greg Sheppard gcs at polari.UUCP
Tue May 28 01:13:19 AEST 1991


 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 at wa-ngnet.army.mil
WAARNG, Tacoma, WA, USA              UUCP:      ...!polari!gcs 
Voice: +1 206 581 8924
--



More information about the Comp.unix.shell mailing list