zutils-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Zutils-bug] Any de/compressor support


From: Antonio Diaz Diaz
Subject: Re: [Zutils-bug] Any de/compressor support
Date: Tue, 29 Nov 2022 18:51:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Adam Tuja wrote:
Would it be too much to ask for free compressor support?

Yes, it would. :-)

By free, I mean any defined in zutils config file in the way it is now:

zutilsrc just allows changing the command used to decompress each supported format, but it can't be used to define new formats.

Adding a new format multiplies the troubles because every decompressor has its own quirks, like undocumented exit status or skippable frames.

It would be required for decompressor to understand '-d' as 'decompress' and
'-c' as 'to-stdout' options, as mandated by tar.

FWIW, '-c' is not required by zutils.

It would solve all the future requests for another fancy compressor support -
could be solved by adding de/compressor to the config file.

What you ask requires the redesign of zutils. Currently adding a new format requires making changes to most source files. For example to extend the command line options:
http://www.nongnu.org/zutils/manual/zutils_manual.html#Common-options


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]