bug-grep
[Top][All Lists]
Advanced

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

[patch #4866] fixes bug #15620: supress outputing file names if -h comes


From: Tony Abou-Assaleh
Subject: [patch #4866] fixes bug #15620: supress outputing file names if -h comes after -H
Date: Sat, 4 Feb 2006 01:03:32 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

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

                 Summary: fixes bug #15620: supress outputing file names if
-h comes after -H
                 Project: grep
            Submitted by: taa
            Submitted on: Sat 02/04/06 at 01:03
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

This patch fixes bug #15620. It modifies only 2 lines in src/grep.c.

Note: consolidating 'no_filenames' and 'with_filenames' into a single
variable won't do, because grep outputs the file names by default if there
are multiple files on the command line, unless 'no_filenames' is set; and
does not output file names by default if there is only a single file on the
command line, unless 'with_filenames' is set.



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden                      | 
taa                                 | 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 02/04/06 at 01:03  Name: grep-Hh.patch  Size: 468B   By: taa

<http://savannah.gnu.org/patch/download.php?item_id=4866&item_file_id=5874>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4866>

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





reply via email to

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