From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3BAFB395B403; Mon, 19 Apr 2021 10:36:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BAFB395B403 From: "pgajdos at suse dot cz" To: bzip2-devel@sourceware.org Subject: [Bug bzip2/27752] New: -f behavior differs from GNU gzip Date: Mon, 19 Apr 2021 10:36:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: bzip2 X-Bugzilla-Component: bzip2 X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pgajdos at suse dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: bzip2-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bzip2-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 10:36:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27752 Bug ID: 27752 Summary: -f behavior differs from GNU gzip Product: bzip2 Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: bzip2 Assignee: nobody at sourceware dot org Reporter: pgajdos at suse dot cz CC: bzip2-devel at sourceware dot org Target Milestone: --- Manual page says: -f bzip2 normally declines to decompress files which don't have the correct m= agic header bytes. If forced (-f), however, it will pass such files through unmodified. This is how GNU gzip behaves. However: $ echo hello world | bzip2 -dcf $ in the opposite of: $ echo hello world | gzip -dcf hello world $ Original bug: https://bugzilla.suse.com/show_bug.cgi?id=3D884004 --=20 You are receiving this mail because: You are on the CC list for the bug.=