I've applied Carl's patch, and then adjusted it
so that zgrep is more portable, but anything that
pokes around in /proc/$$/fd can't claim much in the
way of portability, so it's sure to fail elsewhere.
If someone can propose a better way (patches welcome!),
or point out a system on which this appro
Daniel Barkalow wrote:
> The code to ignore trailing zeros from:
>
> * gzip.c (get_method): Don't complain about trailing zeros at
> the end of a gzipped file, as they're commonly appended to fill
> out a block (e.g. by GNU tar).
>
> has a rare bug: if there is exactly one t