[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uniq works not correct
From: |
ws-imp |
Subject: |
Re: uniq works not correct |
Date: |
Tue, 9 Sep 2008 12:36:02 -0700 (PDT) |
Thanks for your answer.
In my first mail is attach a file "test".
To arrive at the conclusion, I`ve the same file by sort twice used.
there's no way around this
type the following command:
sort test test | uniq -u |wc -l
The reslut should to be equal "0"
sort test test | uniq -d |wc -l
The reslut should to be equal "45" becourse in the file test are 45 lines
See at "SUSE11.0 example"
regards
> Suse11.0 example:
>
> wc -l test
> 45 test
> sort test test|uniq -u|wc -l
> 30
--
View this message in context:
http://www.nabble.com/uniq-works-not-correct-tp19358413p19399565.html
Sent from the Gnu - Coreutils - Discuss mailing list archive at Nabble.com.