bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Eric Blake
Subject: Re: uniq: missing option -W / --check-fields=N
Date: Thu, 22 Jun 2006 01:58:03 +0000

> uniq(1) used to have an option for checking only a certain number of 
> fields. I have since noticed that some scripts I wrote some time ago 
> have stopped working because the -W / --check-fields=N option has 
> disappeared. Can it please be put back in?

It's still there in the latest stable version, 5.96:
$ uniq --version | head -n1
uniq (GNU coreutils) 5.96
$ uniq --help | grep check
  -w, --check-chars=N   compare no more than N characters in lines

> I am happy to write a patch 
> to do so if no-one else wants to do it. Is there a reason why it 
> disappeared?

Probably because you switched systems or PATH, and are no
longer using the GNU coreutils version of uniq.

-- 
Eric Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]