Update of bug #29496 (project grep):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

A good bug report must include a testcase (your /etc/passwd file in this
case; make up your own testcase if you don't want to give us the file) and a
description of the intended vs. actual results.

I don't see anything weird in the output of the two commands on my system,
though.  Remember that [A-Z] will match lowercase characters (except `a'
actually) in a locale other than the C locale under glibc, since the collation
order for those locales is aAbBcCdD...xXyYzZ.

Try "LC_ALL=C grep ^[A-Z] /etc/passwd" and "LC_ALL=C grep [A-Z]$
/etc/passwd".  If they work, the problem is simply that you were expecting a
different collation order.

    _______________________________________________________

Reply to this item at:

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

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



Reply via email to