Re: subtotalling identical records
- From: Ed Morton <morton@xxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 08:01:44 -0500
tony wrote:
I have a file of non-unique names.
allen
allen
allen
bob
bob
What I want is
allen 3
bob 2
Any one-liners to do this?
thanks
uniq -c file
Ed.
.
- Follow-Ups:
- Re: subtotalling identical records
- From: Robert Katz
- Re: subtotalling identical records
- From: tony
- Re: subtotalling identical records
- References:
- subtotalling identical records
- From: tony
- subtotalling identical records
- Prev by Date: subtotalling identical records
- Next by Date: Re: Grep can find a pattern in a text, but not in a file
- Previous by thread: subtotalling identical records
- Next by thread: Re: subtotalling identical records
- Index(es):