GNU bug report logs - #6949
Uniq command should allow total to be displayed

Previous Next

Package: coreutils;

Reported by: "Miles Duke" <Miles.Duke <at> erdas.com>

Date: Mon, 30 Aug 2010 15:43:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: "Miles Duke" <Miles.Duke <at> erdas.com>
To: 6949 <at> debbugs.gnu.org
Subject: bug#6949: Uniq command should allow total to be displayed
Date: Mon, 30 Aug 2010 11:21:08 -0400
[Message part 1 (text/plain, inline)]
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 (Miles.Duke <at> erdas.com)

 

[Message part 2 (text/html, inline)]

This bug report was last modified 15 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.