[net.unix] HELP!! in passing shell variables t

drew@snail.CS.UIUC.EDU (11/03/86)

     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