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