Package: grep Version: 2.5.3~dfsg-2 Severity: important $ echo Capitalized | grep -qE '^[a-z]+$' && echo uh-oh uh-oh $ echo Capitalized | LANG=en_US grep -E '^[a-z]+$' && echo uh-oh $ echo Capitalized | LANG=C grep -E '^[a-z]+$' && echo uh-oh $
This is the same for the pattern '^[a-z]\+$' without -E, and of course without -q. Seems like it's the presence of UTF-8 that does this. Whee. ---> Drake Wilson -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22.2 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages grep depends on: ii libc6 2.6.1-3 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]

