Subject: A bracket expression with \- not work. grep v 2.14

From: nezhevenko <[email-masked]>
Date: Wed, 10 Sep 2014 19:23:29 +0400

Hello!

I know - egrep v 2.14 is not a last version, but i have no time to 
verify in new version :)

Regexp [A\-Z] not work as 'A' or '-' or 'Z'
That finded all letters:

Example:
nezhevenko@nezhevenko:~> echo 'd' | grep -E '[A\-Z]'
d
nezhevenko@nezhevenko:~> egrep -V
egrep (GNU grep) 2.14
...

-- 
Nezhevenko Nickolay,
Quality Assurance,
Protei LTD,
Saint-Petersburg, Russia.