|
From: | Paul Eggert |
Subject: | bug#32815: Corrective patch for GNU gzip |
Date: | Sun, 23 Sep 2018 18:42:22 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |