Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#468386: zsh-beta: Slow command completion
- X-seq: zsh-workers 24672
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#468386: zsh-beta: Slow command completion
- Date: Mon, 03 Mar 2008 16:46:47 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:In-reply-to:From:References:To:Subject:Date:Message-ID; b=0cdejSh6G9ZMSASaDomUBWMWpBl4Q4dlttY77kANyffyJXJG0jL5e3TyLC4msghHgvNdZfrercZdVXCmGYq/dnFlmB9Tk3Y2wLUD4eVUIqDGwxjd8dpl38yeIMdNZYvpCPF9EwJDjiQqm7QwESQGAcXA6HpRQFRIT6zB0w6MnZE= ;
- In-reply-to: <080302172438.ZM12720@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <87zltldnde.fsf@xxxxxxxxxxxxxxxxxxxxx> <20080228172715.GA12451@xxxxxxxxxxx> <080228095414.ZM15685@xxxxxxxxxxxxxxxxxxxxxx> <87bq5xupu3.fsf@xxxxxxxxxxxxxxxxxxxxx> <080302103252.ZM11919@xxxxxxxxxxxxxxxxxxxxxx> <87zltgudos.fsf@xxxxxxxxxxxxxxxxxxxxx> <080302125208.ZM12271@xxxxxxxxxxxxxxxxxxxxxx> <20080302214626.GA27660@xxxxxxxxxxx> <080302144512.ZM12580@xxxxxxxxxxxxxxxxxxxxxx> <20080302230254.GA17242@xxxxxxxxxxx> <080302172438.ZM12720@xxxxxxxxxxxxxxxxxxxxxx>
Bart wrote:
> On Mar 2, 6:02pm, Clint Adams wrote:
> }
> } > It might be better to test for existence of apropos than to try to
> } > parse the output of whatis --version. Or it might not.
>
> Since both have "apropos" as well, it seems testing --version is the
> best way to go.
I'd suspect that using man -k is the most portable.
I'm sure I've seen systems that lack apropos. -s to whatis on Solaris
is for specifying a section number. I had never heard of whatis -s. Note
that I haven't really followed the thread if this doesn't make sense.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author