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

Re: Which package to pipe to gz automatically?



Silvan <dmmcintyr@users.sourceforge.net> writes:

> I used to be able to, for example
>
> 	less README.gz
>
> Something was set up somewhere to automagically substitute
>
> 	gunzip -c README.gz|less
>
> for this.  I don't *think* it's anything I set up for myself.

I have

    eval `lesspipe`

in my ~/.profile to set this up.

> I have the word "lesspipe" in my head as the way I set this up, but
> I'm not apt-caching up anything that looks encouraging.

lesspipe is part of the less package.  You should already have it if you
have less installed.

Martin


-- 
   ,--.    Martin Dickopp, Dresden, Germany                 ,= ,-_-. =.
  / ,- )   http://www.zero-based.org/                      ((_/)o o(\_))
  \ `-'                                                     `-'(. .)`-'
   `-.     Debian, a variant of the GNU operating system.       \_/



Reply to: