I have the following in a bash script I’m writing:
for each in ${list}; do
awk -F "\",\"" '$32 == "${each}" { print $32, $30, $33 }’ ${inputfile}
done
Of course, ${each} doesn’t get populated because of the single quotes in that
line for the awk command.
I’ve tried several combinations of quotes and escaping. It seemed that anything
else I tried caused the awk script to fail.
Has anyone solved this?
—
Russell Johnson
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug