Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#468386: zsh-beta: Slow command completion
- X-seq: zsh-workers 24660
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug#468386: zsh-beta: Slow command completion
- Date: Sun, 2 Mar 2008 18:02:54 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <080302144512.ZM12580@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- 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>
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@xxxxxxxxxxx
> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author