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

Re: /usr/share/doc...



On Tue, 22 Apr 2003, Soren Andersen wrote:
> Well, `zcat' is your first optimization. (`man 1 zcat'). But I in fact
> would also like to hear thoughts on this, because I find that looking
> through the non-html documentation provided in /usr/share/doc is in fact
> very clumsy and laborious. First you have to find a file that looks
> interesting, then note whether it is compressed or not (most often they
> are but sometimes they are not, it varies by package) so as to choose
> which utility to use, then if it is 'zcat'-able, append pipe-less
> ('|less') to the command ... the whole thing gets really tiresome *when
> contrasted with* a simple `[p]info' or `man' invocation.

First of all Sir, may I suggest looking at "bzcat|bzless|bzmore" as well 
as "zcat|zless|zmore".  Between gunzip and bzip2, there isn't a lot of 
compressed documentation out there that's missed.

> I think there is a better way that I don't know about (but hopefully in
> a few minutes I will) but (like woefully too many important things) it
> isn't sufficiently well-publicized, if there is such a "better way".

"view filename"  "view" is part of the vim/gvim suite, and as long as 
the extension of the filename is correct, the file should be
uncompressed automatically.  Of course, to navigate, you need to know
the "vi" commands, but that's not a problem in my book.

~ Jesse Meyer

-- 
        ...crying "Tekeli-li! Tekeli-li!"... ~ HPL
 icq : 34583382              |     === ascii ribbon campaign ===
 msn : dasunt@hotmail.com    |  ()  - against html mail
 yim : tsunad                |  /\  - against proprietary attachments

Attachment: pgpQk4pY2GlRP.pgp
Description: PGP signature


Reply to: