On Tue, Jan 28, 2014 at 10:01 AM, Michael Tokarev <[email protected]> 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.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to