LINE LENGTH / NUMBER OCCURRENCES

To see the length of the lines in a file
and see the number of occurrences of
each line, use the following:

$ awk {'print length'} | uniq -c NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.