On Thu, Feb 28, 2013 at 10:36 AM, Harald Becker <[email protected]> wrote:
> ... just as it would be nice to have a single zcat able to detect the
> format and decompress ANY compressed stream (falling back to operation
> of cat, if uncompressed data given to zcat). With a generalized
> uncompress to do "zcat file >temp"; then rename temp and mangle name
> extensions" (like gunzip).

This will cost you 99 bytes:

commit 8e96efa32314ec5a4e6ace9a6fe7a1694e2e7d90
Author: Denys Vlasenko <[email protected]>
Date:   Thu Feb 28 18:06:09 2013 +0100

    zcat: if seamless uncompressors are defined, autodetect file's format

    function                                             old     new   delta
    bbunpack                                             526     622     +96
    gunzip_main                                           64      67      +3
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to