Monday 15 December 2008

Longest line in a file

Print the length of the longest line in data file :

expand data | awk '{ if (x < x =" length(">

No comments:

Post a Comment

Tweets by @sriramperumalla