Re: t5562: gzip -k is not portable
- From
Jeff King <peff@peff.net>
- Date
- Jun 20, 2018, 12:40 UTC
- Message-ID
- <20180620124006.GB7932@sigill.intra.peff.net>
- In-Reply-To
- <20180620061306.GA7813@tor.lan>
On Wed, Jun 20, 2018 at 08:13:06AM +0200, Torsten Bögershausen wrote:
Show 8 quoted lines
> Good eyes, thanks. > The "-f -c" combo works: > > - gzip -k fetch_body && > + gzip -f -c fetch_body >fetch_body.gz && > test_copy_bytes 10 <fetch_body.gz >fetch_body.gz.trunc && > - gzip -k push_body && > + gzip -f -c push_body >push_body.gz &&
Do we still need "-f"? With "-c" gzip is only writing to stdout, so we should not need to force anything.
-Peff