Monday, January 12, 2009

awk: find longest 10 lines in a file

awk '{print length, $O}' * | sort -nr | head -10

No comments:

Post a Comment