Wednesday, 7 March 2012

awk print coulmns from last of a line

awk ' { print ( $(NF) ) }' --> Last column
awk ' { print ( $(NF-3) ) }'  --> 3rd from Last column

No comments:

Post a Comment