HELP!! in passing shell variables t

drew at snail.CS.UIUC.EDU drew at snail.CS.UIUC.EDU
Tue Nov 4 05:02:00 AEST 1986


     Parameters are passed to awk outside the awk code. 
 Inside the awk code $2 is the second field of the record, not the second
 argument to your shell script. Try the following:

		awk '{ awk code here }' awkvar1=$1 awkvar2=$2



More information about the Comp.unix mailing list