On Mon, Dec 27, 2004 at 08:39:24AM +0800, Robert Vangel wrote: > Mike M wrote: > >2. What's the proper way to read /usr/share/doc/mutt/NEWS.Debian.gz? > > I used: > > # cd /usr/share/doc/mutt/ > > # gunzip NEWS.Debian.gz > > # vi NEWS.Debian > > > > It worked but it seems there should be some sort of tool. > Whenever I have things like that, I use > gzip -dc <file>|less > Would be good if there was a gzless which automatically does it, or > `less --gzip <file>' or something similar.
It's called zless and is installed by gzip. It's just a shell script which uses LESSOPEN. Simon. -- "Oops, yes, we now return you to your regularly scheduled kgcc wars." -- Malcolm Beattie