[Top][All Lists]

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

Re: option `-o' for regular file

From: Antonio Diaz Diaz
Subject: Re: option `-o' for regular file
Date: Sun, 10 May 2020 19:33:01 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20110420 SeaMonkey/2.0.14

Antonio Diaz Diaz wrote:
PS. In my opinion `-o' option appends '.lz' excessively (during
compression, decompression is fine).

This is because of the original use of -o in lzip; providing a virtual
name for the uncompressed file when reading from standard input.

I may change it now to behave more like -o in other programs, but lzip
will still need to change the name when compressing and splitting the
output in volumes.

I'm afraid I can't change it yet because zupdate (from zutils) depends on lzip appending a '.lz' extension to the argument of -o. Redirection can be used to write the compressed output to an arbitrary file:
  'lzip -c file > foo'.

Best regards,

reply via email to

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