How to pass shell variables to awk?

Jonathan I. Kamens jik at athena.mit.edu
Tue Apr 9 08:51:41 AEST 1991


See posting <27852 at neptune.inf.ethz.ch>, wich subject "SUMMARY: using sh vars
in awk calls.", posted on April 5 in comp.unix.shell.

There is almost no difference between using sh variables in awk and using csh
variables in awk, so that posting should answer your question.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.unix.questions mailing list