Commit Graph

15 Commits

Author SHA1 Message Date
jmmv 24c2b45c15 Implement a -t option, to easily select an acronyms list from /usr/share/misc.
One can do `wtf -t comp pci' and it will use /usr/share/misc/acronyms.comp
to search the acronym as usual.
2003-04-25 19:08:31 +00:00
jmmv bd6abf4617 Mention the /usr/share/misc/acronyms.comp database. 2003-04-11 11:13:34 +00:00
jmmv 103c8a5c49 And use basename $0 to get program's name... 2003-04-10 09:21:19 +00:00
jmmv 013854bde3 Implement the `-f' command line option to specify which acronyms database
to use.  Overrides ACRONYMDB's value, if given.
2003-04-10 09:18:24 +00:00
salo f3a1dd8300 Use pipe ("|") as a sed command field separator and allow slash ("/")
character in acronyms.  (e.g. W/, B/C, ...)

Approved by jdolecek.
2003-02-06 15:17:01 +00:00
wiz 0d22e30cd0 New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
2002-09-26 16:12:39 +00:00
wiz 834bb1b3ab Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
soren 3dbb440e9f Just print basename in usage string. 2000-11-21 00:18:52 +00:00
hubertf 8448f50af7 Do not match non-literals (REs).
A slightly different patch was submitted in PR 8388 by
Antti Kantee <pooka@iki.fi>
1999-11-15 19:14:01 +00:00
sommerfeld 7e9fe5fb1e Fix the part of pr8201 which is IMHO a bug: the error message now goes
to stderr.

The existing error message ("I don't know what xxx means") is
unchanged, as it is stylisticly in keeping with the light-hearted
nature of the program, and is also more likely to be accurate than the
"no such acronym" error message proposed in 8201.
1999-08-13 03:02:06 +00:00
drochner b0c1735026 make sure only whole words are matched, use [:space:] RE to avoid embedded
<TAB>s
1999-07-27 15:41:27 +00:00
briggs b0412de83c Check whatis(1) if we don't find an acronym matching the argument 1999-07-25 20:29:04 +00:00
thorpej 2464b36e0a We're in section 6. 1999-07-25 20:02:48 +00:00
lukem fb5a2a2eb1 remove sh warning when invoked with no args 1999-07-22 10:08:17 +00:00
mrg 3fd868859a Allen Briggs' wtf(6) to grovel the acronyms database. 1999-07-22 01:03:20 +00:00