46.2 Quoting Trouble? Think, Then Use echo
A:
It is clear from this code fragment that
awk
is supposed to compare
A: {if($2==income) { /* THIS LINE IS THE PROBLEM */
A:
What does
awk
do with this? It compares A: { if ($2 == "income") { A: which you can say with: A: case $col2 in income) awk ' { if ($2 == "'$col2'") { ... awk code ... } }' $file1;;
Replacing commands with - in net.unix on Usenet, 1 November 1986 |
|