in reply to How to group identical words?

Why bother writing a program if there's already one doing this?
$ uniq -c Jim Jim Jim Peter Anreas Nick Nick Nick Wolfgang Matthew John John John NikolaiJim Peter Anreas Nick Wolfgang Matthew John Nikolai ^D 3 Jim 1 Peter 1 Anreas 3 Nick 1 Wolfgang 1 Matthew 3 John 1 NikolaiJim 1 Peter 1 Anreas 1 Nick 1 Wolfgang 1 Matthew 1 John 1 Nikolai $

Replies are listed 'Best First'.
Re^2: How to group identical words?
by apl (Monsignor) on Aug 19, 2008 at 11:44 UTC
    Because it's his first step towards building a more complex script involving hashes?