Re: uniq command gives wrong and different results

2006-10-13 Thread Paul Eggert
"Fong Tin Joen, Raimund" <[EMAIL PROTECTED]> writes: > LANG=en_US.UTF-8 > ... > # cat Foo > ./usr/share/apps/kturtle/examples/fr_FR/carré.logo > ./usr/share/apps/kturtle/examples/fr_FR/carré.logo > ./usr/share/apps/kturtle/examples/fr_FR/enroulé.logo > ./usr/share/doc/man-pages-da-0.1.1/læsmig > .

uniq command gives wrong and different results

2006-10-13 Thread Fong Tin Joen, Raimund
Dear all, I hope that someone can help me out with the next issue on a system running RedHat Fedora Core release 3 (Heidelberg). When using the uniq command on the attached file Foo <> the result is not as expected. It also gives different results depending on using it several times after eac

Re: FW: Uniq command gives wrong and different results

2006-10-12 Thread Bob Proulx
Fong Tin Joen, Raimund wrote: > You are right about one thing and that is about using the sort command > first. > > Due to excitement or perhaps confusion I forgot to mention that I did > used the sort command as given in your example. > ... > All I meant to say is : > That with the usage of the s

Re: Uniq command gives wrong and different results

2006-10-11 Thread Bob Proulx
Fong Tin Joen, Raimund wrote: > When using the uniq command on the delivered file the result is not > as expected. It als gives random results depending on using it > several times after eachother. Your file is not sorted. Sort the file first. The sort documentation says: By default, `uni

Uniq command gives wrong and different results

2006-10-11 Thread Fong Tin Joen, Raimund
Dear When using the uniq command on the delivered file the result is not as expected. It als gives random results depending on using it several times after eachother. <> When using "uniq -u Foo" the result looks like - Beginning - # uniq -u Foo ./usr/share/apps/kturtle/examples/fr_FR/carré.