Re: subtotalling identical records




Robert Katz wrote:
Ed Morton wrote:
tony wrote:
I have a file of non-unique names.
Any one-liners to do this?
sort <file | uniq -c file

No, no! _This_ one! (*hehehe*)

http://sed.sourceforge.net/local/scripts/impossible.sed

sed -f impossible.sed <file

=Brian

.