On Mon, 27 Dec 2004 the mental interface of
Robert Vangel told:
> 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.
just
prompt: less /usr/share/doc/mutt/NEWS.Debian.gz
works perfect with vim as the less pager:
alias less='$VIMRUNTIME/macros/less.sh'
HANN
Elimar
--
Alles was viel bedacht wird ist bedenklich!;-)
Friedrich Nietzsche
Attachment:
signature.asc
Description: Digital signature