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

 
 

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

patch #6107: Patch to add transparent decompression

Submitted by:  Reuben Thomas <rrt>
Submitted on:  Wed 18 Jul 2007 11:17:24 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rrt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Aug 2009 10:25:27 AM UTCrrtAttached File-=>Added decompress.patch, #18597
    Fri 08 May 2009 12:47:36 PM UTCrrtAttached File-=>Added grep-uncompress.patch, #18121
    Wed 22 Aug 2007 09:24:40 PM UTCrrtAttached File-=>Added grep-CVS-uncompress-2.patch, #13771
    Wed 18 Jul 2007 11:17:25 PM UTCrrtAttached File-=>Added grep-CVS-uncompress.patch, #13386

    Back to the top


    Powered by Savane 3.1-cleanup