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

Re: /usr/share/doc...



Michael Kahle wrote:
> 
> I was looking at some of the gzip'd documentation in /usr/share/doc/exim
> today and I got to wondering...  When I want to view the documentation, I
> would always change to root, then uncompress the file, read it, and then
> re-compress it.  Am I making this too difficult?  

Yes because it is possible to read gzipped texts with less. 

Put "eval $(lessfile)" or "eval $(lesspipe)" in your .bash_profile or
some similar file and you can read those texts.

See also /usr/share/doc/less/LESSOPEN

-- 
Thomas Weinbrenner

Attachment: pgpz4OHpfkge_.pgp
Description: PGP signature


Reply to: