zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#468386: zsh-beta: Slow command completion
Date: Sun, 2 Mar 2008 18:02:54 -0500	[thread overview]
Message-ID: <20080302230254.GA17242@scowler.net> (raw)
In-Reply-To: <080302144512.ZM12580@torch.brasslantern.com>

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.


  reply	other threads:[~2008-03-02 23:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zltldnde.fsf@elegiac.orebokech.com>
2008-02-28 17:27 ` Clint Adams
2008-02-28 17:54   ` Bart Schaefer
2008-03-02 15:07     ` Romain Francoise
2008-03-02 18:32       ` Bart Schaefer
2008-03-02 19:29         ` Romain Francoise
2008-03-02 20:52           ` Bart Schaefer
2008-03-02 21:46             ` Clint Adams
2008-03-02 22:45               ` Bart Schaefer
2008-03-02 23:02                 ` Clint Adams [this message]
2008-03-03  1:24                   ` Bart Schaefer
2008-03-03 15:46                     ` Oliver Kiddle
2008-02-28 17:54   ` Peter Stephenson
2008-02-28 18:24     ` Clint Adams
2008-02-29  1:11       ` Bart Schaefer
2008-02-29  2:07         ` Clint Adams
2008-02-29 17:12           ` Bart Schaefer
2008-03-01 23:06             ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080302230254.GA17242@scowler.net \
    --to=schizo@debian.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).