Re: subtotalling identical records
- From: tony <bigtoehere@xxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 10:05:15 -0300
On Wed, 27 Sep 2006 08:01:44 -0500, Ed Morton <morton@xxxxxxxxxxxxxx>
wrote:
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.
3 minutes! Awesome Ed.
thanks,
tony
.
- References:
- subtotalling identical records
- From: tony
- Re: subtotalling identical records
- From: Ed Morton
- subtotalling identical records
- Prev by Date: Re: Grep can find a pattern in a text, but not in a file
- Next by Date: Re: simple alias doesn't work
- Previous by thread: Re: subtotalling identical records
- Next by thread: Re: subtotalling identical records
- Index(es):
Relevant Pages
|