Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#468386: zsh-beta: Slow command completion



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