From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19821 invoked from network); 3 Mar 2008 15:47:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Mar 2008 15:47:11 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 84967 invoked from network); 3 Mar 2008 15:47:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Mar 2008 15:47:03 -0000 Received: (qmail 17168 invoked by alias); 3 Mar 2008 15:46:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24672 Received: (qmail 17154 invoked from network); 3 Mar 2008 15:46:58 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 Mar 2008 15:46:58 -0000 Received: from n37.bullet.mail.ukl.yahoo.com (n37.bullet.mail.ukl.yahoo.com [87.248.110.170]) by bifrost.dotsrc.org (Postfix) with SMTP id 9FF7C8028C50 for ; Mon, 3 Mar 2008 16:46:51 +0100 (CET) Received: from [217.146.182.180] by n37.bullet.mail.ukl.yahoo.com with NNFMP; 03 Mar 2008 15:46:51 -0000 Received: from [87.248.111.146] by t6.bullet.ukl.yahoo.com with NNFMP; 03 Mar 2008 15:46:51 -0000 Received: from [127.0.0.1] by omp203.mail.ukl.yahoo.com with NNFMP; 03 Mar 2008 15:46:51 -0000 X-Yahoo-Newman-Id: 634434.68610.bm@omp203.mail.ukl.yahoo.com Received: (qmail 68657 invoked from network); 3 Mar 2008 15:46:29 -0000 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= ; Received: from unknown (HELO thecus) (okiddle@89.48.14.177 with plain) by smtp104.mail.ukl.yahoo.com with SMTP; 3 Mar 2008 15:46:29 -0000 X-YMail-OSG: tYQWPacVM1l8n8_P1Ga1QlgaMNgneSFqhCezD5baLmg6oJKfqT9NtVD.8H8Rmv3yt9Xyxk0M9g-- X-Yahoo-Newman-Property: ymail-3 Received: from opk (helo=thecus) by thecus with local-esmtp (Exim 4.63) (envelope-from ) id 1JWCsK-0002P6-14 for zsh-workers@sunsite.dk; Mon, 03 Mar 2008 16:46:48 +0100 In-reply-to: <080302172438.ZM12720@torch.brasslantern.com> From: Oliver Kiddle References: <87zltldnde.fsf@elegiac.orebokech.com> <20080228172715.GA12451@scowler.net> <080228095414.ZM15685@torch.brasslantern.com> <87bq5xupu3.fsf@elegiac.orebokech.com> <080302103252.ZM11919@torch.brasslantern.com> <87zltgudos.fsf@elegiac.orebokech.com> <080302125208.ZM12271@torch.brasslantern.com> <20080302214626.GA27660@scowler.net> <080302144512.ZM12580@torch.brasslantern.com> <20080302230254.GA17242@scowler.net> <080302172438.ZM12720@torch.brasslantern.com> To: zsh-workers@sunsite.dk Subject: Re: Bug#468386: zsh-beta: Slow command completion Date: Mon, 03 Mar 2008 16:46:47 +0100 Message-ID: <9243.1204559207@thecus> X-Virus-Scanned: ClamAV 0.91.2/6093/Mon Mar 3 16:03:18 2008 on bifrost X-Virus-Status: Clean 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