Package: grep
Version: 2.5.3~dfsg-2
Severity: grave
Justification: renders package unusable
With etch's grep:
% time LC_ALL=C grep -v '^ ' short | LC_ALL=C grep : >| /dev/null
LC_ALL=C grep --color=tty -d skip -v '^ ' short 0,00s user 0,00s system
89% cpu 0,004 total
LC_ALL=C grep --color=tty -d skip : >| /dev/null 0,00s user 0,00s system
0% cpu 0,004 total
% time grep -v '^ ' short | grep : >| /dev/null
grep --color=tty -d skip -v '^ ' short 0,00s user 0,00s system 93% cpu
0,009 total
grep --color=tty -d skip : >| /dev/null 0,00s user 0,00s system 50% cpu
0,008 total
With the one in unstable:
% LC_ALL=C grep -v '^ ' short | LC_ALL=C grep : >| /dev/null
LC_ALL=C grep --color=tty -d skip -v '^ ' short 0,00s user 0,00s system
87% cpu 0,005 total
LC_ALL=C grep --color=tty -d skip : >| /dev/null 0,00s user 0,00s system
0% cpu 0,004 total
% time grep -v '^ ' short | grep : >| /dev/null
grep --color=tty -d skip -v '^ ' short 10,97s user 0,05s system 99% cpu
11,101 total
grep --color=tty -d skip : >| /dev/null 0,00s user 0,00s system 0% cpu
11,100 total
So it seems that multibyte support is completely broken for some reason.
This renders grep compltely unsuitable for use in code like the kernel,
which is what it's made for in the first place.
% locale
LANG=C
LC_CTYPE=fr_FR.utf8
LC_NUMERIC=fr_FR.utf8
LC_TIME=fr_FR.utf8
LC_COLLATE=fr_FR.utf8
LC_MONETARY=fr_FR.utf8
LC_MESSAGES=C
LC_PAPER=fr_FR.utf8
LC_NAME=fr_FR.utf8
LC_ADDRESS=fr_FR.utf8
LC_TELEPHONE=fr_FR.utf8
LC_MEASUREMENT=fr_FR.utf8
LC_IDENTIFICATION=fr_FR.utf8
LC_ALL=
The "short" file is the "git shortlog" of git. It's a 13k lines long
file, 625ko big.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grep depends on:
ii libc6 2.6.1-4 GNU C Library: Shared libraries
grep recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]