| ||||||
| 5/17 |
| 2004/10/1-2 [Computer/SW/Unix] UID:33873 Activity:moderate |
10/1 If i want to awk '{print $2+}' is there a way to do that without
looping, or am i being TOO lazy?
\_ perl
\_ probably. what are you trying to do in not-awk-speak?
\- you can use this loop. there might be a range operator
in some versions of awk, but not in generic awk. --psb
awk '{for(i=2; i<=NF; i++) { printf " "$i } ; printf "\n" }' |