GNU bug report logs - #10365
[PATCH] uniq: add ability to skip last N chars or fields

Previous Next

Package: coreutils;

Reported by: Adrien Kunysz <adrien <at> kunysz.be>

Date: Sun, 25 Dec 2011 19:33:02 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Adrien Kunysz <adrien <at> kunysz.be>, 10365 <at> debbugs.gnu.org, 5832 <at> debbugs.gnu.org
Subject: bug#10365: [PATCH] uniq: add ability to skip last N chars or fields
Date: Mon, 26 Dec 2011 09:39:26 -0800
On 12/26/11 08:35, Pádraig Brady wrote:
> supporting --key would not provide this functionality.

It would support it in the most common cases, no?
That is, if every line has (say) 10 fields, then
the proposed 'uniq -F3' would be equivalent to
the proposed 'uniq -k1,7'.

I can't offhand think of good use cases for uniq -F
that would not be subsumed by uniq -k.




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

Previous Next


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