[Top][All Lists]

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

Re: Darwin's uniq

From: Noah Misch
Subject: Re: Darwin's uniq
Date: Thu, 2 Dec 2004 11:16:08 -0800
User-agent: Mutt/1.5.6i

On Thu, Dec 02, 2004 at 10:55:32PM +0900, Peter O'Gorman wrote:
> Akim Demaille wrote:
> >It turns out there are many uniq -cd, but:
> I looked at 
> <http://www.opengroup.org/onlinepubs/009695399/utilities/uniq.html> and 
> that says uniq [-c|-d|-u] which means to me -c OR -d OR -u, so libtool is 
> totally wrong using -cd in the first place :(

How about:

some_cmd | uniq -c | grep -v '[[:space:]]*1'


reply via email to

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