bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #14935] grep with --color and -e "^abc" foo.txt


From: anonymous
Subject: [bug #14935] grep with --color and -e "^abc" foo.txt
Date: Tue, 8 Nov 2005 18:28:33 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.2 (like Gecko)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14935>

                 Summary: grep with --color and -e "^abc" foo.txt
                 Project: grep
            Submitted by: None
            Submitted on: 火 2005年11月08日 at 18:28
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

$ grep --version
grep (GNU grep) 2.5.1
$ cat foo.txt
abc_abc_abc_
$ grep -o -e "^abc_" foo.txt
abc_
abc_
abc_
$ grep --color -e "^abc_" foo.txt
abc_abc_abc_
^^^^^^^^^^^^

this is wrong.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14935>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]