bug#10365: [PATCH] uniq: add ability to skip last N chars or fields (original) (raw)

[Top][All Lists]


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Paul Eggert
Subject: bug#10365: [PATCH] uniq: add ability to skip last N chars or fields
Date: Mon, 26 Dec 2011 09:39:26 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

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.