On 2010-04-10 08:06 +0200, Aníbal Monsalve Salazar wrote: > Version: 2.6.3-1 > > On Sat, Apr 10, 2010 at 01:54:51PM +0900, Norihiro Tanaka wrote: >>Hi, >> >>I seem that is expected behavior. [A-Z] includes A,b,B,c,C,...y,Y,z,Z >>in en_US locale (not include `a').
According to the NEWS file, this should have been the case since grep 2.5. I wonder if some of the now removed Debian patches prohibited that behavior, at least there is no indication that it had been turned off deliberately in Debian's versions. > Right. Closing this bug report accordingly. > > grep -E '^[[:upper:]]' /etc/passwd > > You could use the command above. This is also very much locale dependent, so if only ASCII uppercase letters are to be matched, the locale should be set to C or POSIX in any case. Sven -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

