Manfred Morgner wrote:
Hello all,
the manual page of GNU gzip says:
Exit status is normally 0; if an error occurs, exit status is 1. If a warning 
occurs, exit status is 2.
This is not the case sind version >1.5 for the situation when the source file 
already ends with .gz
Test:
$ gzip 2018.gz
gzip: 2018.gz already has .gz suffix -- unchanged
$ echo $?
0

Why is this a bug? Arguably no error has occurred.



Reply via email to