Olaf van der Spek <[EMAIL PROTECTED]> writes:

> On 12/21/05, Goswin von Brederlow <[EMAIL PROTECTED]> wrote:
>> uncompressor <file.tar.whatever | tar -x
>
> $ uncompressor
> -bash: uncompressor: command not found
>
> This solution doesn't look usable in scripts and user have to use a
> more complex syntax.

You have to replace uncompressor with whatever tool is the right to
uncompress the format. Just like you have to use -z or -j depending on
gzip or bzip2 compression.

For a generic uncompressor the mailcap programs are probably best
suited for adopting it. E.g. add an action "dump" to run-mailcap that
outputs the uncompressed data.

MfG
        Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to