Subject: Uniq command should allow total to be displayed

From: "Miles Duke" <[email-masked]>
Date: Mon, 30 Aug 2010 11:21:08 -0400

This is not a bug, but a feature request.

'uniq --count' is an excellent tool for summarizing data, but it is
missing one useful feature - an overall total.

It's embarrassing to have to go to excel to bring the totals together.

I suggest a new -t (--total) option:

*         When combined with '--count', it reports the sum of the count
lines

*         Without the '--count', it reports the number of lines printed
by uniq

As a new parameter, it will not break any scripts that rely upon the
current output of uniq.

Miles Duke ([email-masked])