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

Re: /usr/share/doc/ files and gzip/xz/no compression



Hi there!

On Tue, 16 Aug 2011 10:08:45 +0200, Alexander Reichle-Schmehl wrote:
> Am 16.08.2011 02:43, schrieb Russell Coker:
>
>> I'd like to see zless work transparently with bzip and xz compressed files.  
>> There's really no need for three different wrapper programs when the zless 
>> program can just consult the magic db to determine which decompression program 
>> to use.
>
> FWIW, if you the following in your bashrc:
>
> if [ -f /usr/bin/lesspipe ]; then

I would use the -x expression instead ;-)

And I would also say that this test should be included in the
lesspipe(1) manpage...

Thx, bye,
Gismo / Luca

Attachment: pgpYbpIiW4xY7.pgp
Description: PGP signature


Reply to: