Follow-up Comment #1, bug #18633 (project grep):

> When I type: grep '^[a-e]' filename
> it returns all lines beginning with an a,b,c,d,e,A,B,C, or D
> (but not an E).

Sounds like a locale problem.  If you type:
  grep '^[a-E]' filename
do all ten letters get included?
And what happens when using:
  LC_ALL=C grep '^[A-Ea-e]' filename

What is the output of 'locale' and of 'type -a grep'?


(In CVS there's another problem, "grep -i --color '^[A-E]'" does
not colour the matches, whereas "grep -i --color '^[a-e]'" does.)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18633>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to