in reply to Reporting entries in a file
sort file | uniq -c | sort -n
will print out something like:
1 foo 3 bar 8 blah
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reporting entries in a file (unix one-liner)
by codeacrobat (Chaplain) on May 31, 2008 at 22:08 UTC |