patchgrep - Patches: patch #6107, Patch to add transparent...

 
 

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

patch #6107: Patch to add transparent decompression

Submitter:  Reuben Thomas <rrt>
Submitted:  Wed 18 Jul 2007 11:17:24 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Wed 22 Aug 2012 05:43:27 PM UTC, comment #3: 

After discussion on bug-grep, it seems that a generalized filter is preferred. I have a design for this, but I have not implemented it, as it would be easy to implement given an implementation in gnulib of the "ig" flavour of pipe-filter, which currently does not exist. That would enable a simple and non-invasive patch.

If pipe-filter-ig is forthcoming, I'll happily produce the patch, which would add a --filter=PROGRAM flag which pipes all input through the given filter. Transparent decompression is achieved by making the filter "zcat".

Reuben Thomas <rrt>
Tue 18 Aug 2009 10:25:27 AM UTC, comment #2: 

Updated patch again to remove some spurious whitespace changes.

(file #18597)

Reuben Thomas <rrt>
Fri 08 May 2009 12:47:36 PM UTC, comment #1: 

Patch updated as per discussion on grep-bugs about a year ago!

(file #18121)

Reuben Thomas <rrt>
Wed 18 Jul 2007 11:17:24 PM UTC, original submission:  

This is an updated version of the patch I submitted a year ago by email, fixed for current CVS. I am in the process of getting FSF copyright assignment forms for GNU grep, if that helps.

The patch adds transparent decompression via libz, activated via -Y, --uncompress.

If this patch is accepted I'll happily provide a patch for the documentation too; the current patch is for code only.

Reuben Thomas <rrt>

 

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

Attached Files
file #18597:  decompress.patch added by rrt (5KiB - text/x-diff)
file #18121:  grep-uncompress.patch added by rrt (7KiB - text/x-diff - Updated patch with --decompress instead of --uncompress.)
file #13771:  grep-CVS-uncompress-2.patch added by rrt (4KiB - application/octet-stream - Updated patch with only long option)
file #13386:  grep-CVS-uncompress.patch added by rrt (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rrt (Submitted 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
    2009-08-18 rrt Attached File- Added decompress.patch, #18597
    2009-05-08 rrt Attached File- Added grep-uncompress.patch, #18121
    2007-08-22 rrt Attached File- Added grep-CVS-uncompress-2.patch, #13771
    2007-07-18 rrt Attached File- Added grep-CVS-uncompress.patch, #13386

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code