From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9532 invoked from network); 2 Mar 2008 23:03: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=AWL,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; 2 Mar 2008 23:03:11 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 21297 invoked from network); 2 Mar 2008 23:03:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Mar 2008 23:03:06 -0000 Received: (qmail 11193 invoked by alias); 2 Mar 2008 23:03:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24660 Received: (qmail 11166 invoked from network); 2 Mar 2008 23:03:00 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 2 Mar 2008 23:03:00 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id 41B8B8028C4E for ; Mon, 3 Mar 2008 00:02:56 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id A05AA5C1E0; Sun, 2 Mar 2008 18:02:54 -0500 (EST) Date: Sun, 2 Mar 2008 18:02:54 -0500 From: Clint Adams To: Bart Schaefer Cc: zsh-workers@sunsite.dk Subject: Re: Bug#468386: zsh-beta: Slow command completion Message-ID: <20080302230254.GA17242@scowler.net> Mail-Followup-To: Bart Schaefer , zsh-workers@sunsite.dk 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <080302144512.ZM12580@torch.brasslantern.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/6083/Sun Mar 2 22:16:34 2008 on bifrost X-Virus-Status: Clean On Sun, Mar 02, 2008 at 02:45:12PM -0800, Bart Schaefer wrote: > I should have asked before, but does Debian have "apropos"? lrwxrwxrwx 1 root root 6 2008-02-08 18:27 /usr/bin/apropos -> whatis % apropos --version apropos 2.5.1 % diff -u <(whatis --help) <(apropos --help) --- /proc/self/fd/11 2008-03-02 18:02:03.840316938 -0500 +++ /proc/self/fd/12 2008-03-02 18:02:03.840316938 -0500 @@ -1,9 +1,11 @@ -Usage: whatis [OPTION...] KEYWORD... +Usage: apropos [OPTION...] KEYWORD... -d, --debug emit debugging messages -v, --verbose print verbose warning messages + -e, --exact search each keyword for exact match -r, --regex interpret each keyword as a regex -w, --wildcard the keyword(s) contain wildcards + -a, --and require all keywords to match -l, --long do not trim output to terminal width -C, --config-file=FILE use this user configuration file -L, --locale=LOCALE define the locale for this search @@ -17,4 +19,6 @@ Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. +The --regex option is enabled by default. + Report bugs to cjwatson@debian.org. > It might be better to test for existence of apropos than to try to > parse the output of whatis --version. Or it might not. No idea.