Собственно, сабж.
rain@debian:~$ echo aaaaaaaaa | grep -E '[A-Z]'
rain@debian:~$ echo aaaaaaaaab | grep -E '[A-Z]' aaaaaaaaab
rain@debian:~$ /bin/dash
$ echo aaaaaaaaa | grep -E '[A-Z]'
$ echo aaaaaaaaay | grep -E '[A-Z]'
aaaaaaaaay
$
Debian 6, Ubuntu 11.04.
На RHEL5/Centos5 - ок.
ЧЗХ или ЧЯДНТ?