From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
when searching for lines, which begin with an uppercase letter,
grep finds all lines, including those with lowercase letters.
The following command will display all lines of the above file:
grep '^[A-Z].*' <filename>
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See above
The grep man page addresses this point quite clearly. ISO 14651, which is the
sorting standard, specifies this behaviour. You can
also find some information in the strcoll documentation.
IEEE Std 1003.1, 2003 Edition says that grep uses the current locale as the
"locale for the behavior of ranges".
I think you meant to use '[[:upper:]]', as the grep man page suggests.