[Bug bzip2/27752] New: -f behavior differs from GNU gzip
pgajdos at suse dot cz
sourceware-bugzilla@sourceware.org
Mon Apr 19 10:36:51 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=27752
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 magic
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=884004
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bzip2-devel
mailing list