accessing shell variables from within awk?
Rich Scott
rscott at eta.unix.ETA.COM
Tue Sep 20 06:54:14 AEST 1988
How can I access a shell variable (to wit, a few environment
variables) from within "awk"? I've tried various combinations of
shell quoting, and whatnot, to no avail. Does any version of awk
have a shortcut to get at it's environment? BTW, I'm running SunOS
3.5, if it matters much.
---
Rich Scott uucp: {rutgers,amdahl,ihnp4}!meccts!eta!rscott
ETA Systems domain: rscott at eta.eta.com
Saint Paul, MN arpa: eta!rscott at uxc.cso.uiuc.edu
-or- rscott at gonzo.eta.com
"Heck-a-slammin'" - S. Easton/P.R. Nelson
More information about the Comp.unix.questions
mailing list