Monday 29 December 2008

wc -l in awk

Count the lines in a file:

awk 'END { print NR }' file.dat

No comments:

Post a Comment

Tweets by @sriramperumalla