http://qs1969.pair.com?node_id=284572


in reply to Hash and count of data values

cat file | sort | uniq -c

T I M T O W T D I

Replies are listed 'Best First'.
Re: Re: Hash and count of data values
by Fletch (Bishop) on Aug 18, 2003 at 13:56 UTC

    *tweeet*

    Useless use of cat. Five yards, repeat the down.

    sort file | uniq -c

    :)