Re: uniq: missing option -W (original) (raw)

[Top][All Lists]


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

Re: uniq: missing option -W / --check-fields=N


From: Jim Meyering
Subject: Re: uniq: missing option -W / --check-fields=N
Date: Mon, 26 Jun 2006 20:32:59 +0200

Paul Eggert <address@hidden> wrote:

Matt Keenan <address@hidden> writes:

> Making a patch from the debian sources is not a difficult task > and I can provide one if necessary.

On thinking about it further, I like the idea of having 'uniq' be consistent with 'sort', but I'd prefer 'uniq' to have the same syntax as 'sort', i.e, 'uniq' should use the same -k option that 'sort' has.

Could you implement a patch along those lines, and give us permission to use it? You shouldn't use the Debian patch unless we can be sure we can get written permission from its author.

However, I'd wait for Jim's advice on this before doing any real work, since he'd have to decide whether GNU uniq should support a -k option.

I agree, and think I wrote exactly the same thing: uniq needs the same -k key-selection options as sort -- probably in response to a request to integrate the Debian patch. I went to look for it a couple days ago, but got side-tracked.