bug-grep
[Top][All Lists]
Advanced

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

[bug #39706] Does not return filename if only one file matches pattern


From: anonymous
Subject: [bug #39706] Does not return filename if only one file matches pattern
Date: Tue, 06 Aug 2013 14:14:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39706>

                 Summary: Does not return filename if only one file matches
pattern
                 Project: grep
            Submitted by: None
            Submitted on: Tue 06 Aug 2013 02:14:18 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If I run grep without the -r flag looking for a string (Incomplete in this
case but it doesn't matter) using the string */*.php for the files argument
and only one file matches this pattern grep does not return the file name as
part of the search.

Example:
grep Incomplete */*.php

Expected:
path/filename.php: $this->markTestIncomplete();

Actual:
                $this->markTestIncomplete();




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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