|
From: | Pádraig Brady |
Subject: | Re: uniq works not correct |
Date: | Wed, 10 Sep 2008 09:51:22 +0100 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071008) |
Same error happens on fedora. So it's probably related to that horrible i18n patch applied by distros but rightly used the upstream coreutils project. $ file test test: ISO-8859 text $ echo $LANG en_IE.UTF-8 $ rpm -q coreutils coreutils-6.9-12.fc8 $ ~/git/coreutils/src/uniq --version uniq (GNU coreutils) 6.12.72-b1a1c-dirty $ sort test test|uniq -u|wc -l 30 $ LANG=C sort test test|uniq -u|wc -l 26 $ sort test test|LANG=C uniq -u|wc -l 0 $ ~/git/coreutils/src/sort test test|~/git/coreutils/src/uniq -u|wc -l 0
[Prev in Thread] | Current Thread | [Next in Thread] |