in reply to Can I modify a single chunk of a gzip stream?

I think this would be easier if you just did this with the shell and pipes:

curl ... | gunzip -c | sed -e script | gzip -c

You can also s/sed/perl/ :)

  • Comment on Re: Can I modify a single chunk of a gzip stream?