patchgrep - Patches: patch #4866, fixes bug #15620: supress...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4866: fixes bug #15620: supress outputing file names if -h comes after -H

Submitter:  Tony Abou-Assaleh <taa>
Submitted:  Sat 04 Feb 2006 05:03:31 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  taa Open/Closed:  Closed

Fri 19 May 2006 05:18:48 PM UTC, comment #1: 

This one can go in before a release, IMHO.  The -l and -L pair already behave this way.

Benno Schulenberg <bens>
Sat 04 Feb 2006 05:03:31 AM UTC, original submission:  

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.

Tony Abou-Assaleh <taa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #9524:  grep-Hh.patch added by taa (468B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by taa (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-07 taa Assigned toNone taa
        Open/ClosedOpen Closed
    2007-10-07 taa StatusNone Done
    2006-02-04 taa Attached File- Added grep-Hh.patch, #5874

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code