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
------------------------------------+-----------------------------
[EMAIL PROTECTED] |
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/