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.



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to