1.22: zcat does not decompress data anymore [bisected]
Denys Vlasenko
vda.linux at googlemail.com
Sun Feb 2 01:07:59 UTC 2014
On Tue, Jan 28, 2014 at 10:01 AM, Michael Tokarev <mjt at tls.msk.ru> wrote:
> 28.01.2014 12:48, Michael Tokarev пишет:
> Note that with the above two patches, busybox zcat will happily
> accept uncompressed input and will behave like plain cat, while
> original zcat refuses to work on uncompressed data:
>
> $ zcat README
> gzip: README: not in gzip format
> $ ./busybox zcat README | wc -l
> 204
>
> For some, it might look like a bug. I've seen scripts verifying
> if the data is compressed by running zcat >/dev/null - arguable
> those are also broken, but heck...
Fixed in git, please try it.
More information about the busybox
mailing list