bug-grep
[Top][All Lists]
Advanced

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

[bug-grep] [bug #12727] --with-filename --only-matching, not as expected


From: anonymous
Subject: [bug-grep] [bug #12727] --with-filename --only-matching, not as expected
Date: Tue, 19 Apr 2005 01:23:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050329 Firefox/1.0.2

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

                 Summary: --with-filename --only-matching, not as expected
                 Project: grep
            Submitted by: None
            Submitted on: Mon 04/18/2005 at 21:23
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

--with-filename --only-matching will not print filename with each result.

Testcase:
echo "a a" | grep --with-filename --only-matching a

Expected result:
(standard input):a
(standard input):a

Actual result:
(standard input):a
a







    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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