[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Could we use gunzip -c instead of zcat?



> I'd like to suggest that scripts, debian.rules etc... use gunzip -c instead
> of zcat when the intent is to get the contents of a gzipped file on stdout.
> This is because if binaries from a BSD compress package (not necessarily
> built with compress-package) will make a true zcat available on the system,
> which of course cannot handle gzipped files.

Calling "gzip -dc" would be an even better solution.

                                        Brian
                               ( bcwhite@verisim.com )

-------------------------------------------------------------------------------
    In theory, theory and practice are the same.  In practice, they're
not.




Reply to: