> Shanker Balan wrote:
> > 
> > Hi dudes,
> > 
> > Any idea how i can use 'less' to view compressed text files like README.gz?
> 
> there is some lessrc file or less.conf or something, where u can ask
> less to call the specified gunzip or whatever before passing it to less.

Atleast on RH there is a shell script "zless" that does what you say. If
your distro doesn't have zless, it should be trivial to make one..

zcat $@ | less

should be sufficient.

Kedar.


-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to