Package: moreutils
Version: 0.51
Severity: minor

I have "pl_PL" and "pl_PL.UTF-8" locales installed, but "locale -a" also lists "pl_PL.iso88592" and "polish", which are aliases for "pl_PL". If I search for a Polish errno message, I get 4 copies of the message:

$ errno -S Nie ma takiego pliku
ENOENT 2 Nie ma takiego pliku ani katalogu
ENOENT 2 Nie ma takiego pliku ani katalogu
ENOENT 2 Nie ma takiego pliku ani katalogu
ENOENT 2 Nie ma takiego pliku ani katalogu

or sometimes 3 copies of ISO-8859-2 message, and one copy of UTF-8 message:

$ errno -S Deskryptor pliku w | less
EBADFD 77 Deskryptor pliku w z<B3>ym stanie
EBADFD 77 Deskryptor pliku w z<B3>ym stanie
EBADFD 77 Deskryptor pliku w złym stanie
EBADFD 77 Deskryptor pliku w z<B3>ym stanie


Could errno(1) avoid printing the same message more than once?


-- System Information:
Debian Release: jessie/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages moreutils depends on:
ii  libc6            2.18-7
ii  libipc-run-perl  0.92-1
ii  perl             5.18.2-4

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to