public inbox for bzip2-devel@sourceware.org
 help / color / mirror / Atom feed
* [Bug bzip2/27752] New: -f behavior differs from GNU gzip
@ 2021-04-19 10:36 pgajdos at suse dot cz
  0 siblings, 0 replies; only message in thread
From: pgajdos at suse dot cz @ 2021-04-19 10:36 UTC (permalink / raw)
  To: bzip2-devel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-19 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 10:36 [Bug bzip2/27752] New: -f behavior differs from GNU gzip pgajdos at suse dot cz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).