On Sep 9, 2025, at 11:05 AM, Paul Eggert <eggert@CS.UCLA.EDU> wrote:
A negative compression ratio is correct when gzip's compressed output is larger than its input.
Arguably gzip should output "-Inf%" when the input is empty and the compressed output is not. But that's a mere nicety.