MirOS Manual: wtf(1)

WTF(1)                       BSD Reference Manual                       WTF(1)


     wtf - translates acronyms for you


     wtf [-adPpw] [-f dbfile] [is | ist] acronym ...


     The wtf utility displays the expansion of the acronyms specified on the
     command line. The following places are searched:

     -a      Search the acronym database (default).

     -d      Search the dictionary. Needs a dict client installed.

     -f dbfile
             Overrides the default acronym database, bypassing the value of
             the ACRONYMDB variable.

     -P      Search the package database or ports INDEX. Match in package name
             and description.

     -p      Search the package database or ports INDEX. Match in package name

     -t arg  Ignored (for compatibility).

     -w      Search with whatis.

     To disable an option, prefix it with a plus sign ('+') instead of a dash.

     If any of the -adPpw options are given (set or unset), no other or de-
     fault options are enabled.

     If "is" is specified on the command line, it will be ignored, allowing
     the fairly natural wtf is WTF and, for German users, wtf ist n8 usage.

     Besides the 26 latin letters [a-z], the following nōn-ASCII characters
     are understood and translated to their upper-case equivalents for looking
     up the search term; if yours contains any other Unicode characters above
     U+007E, you may need to upper-case the search term yourself.
           ä ö ü ß ñ á é í ó ç è
     Furthermore, if the search term contains any (ASCII, currently, i.e.
     [A-Z], as there have been no acronyms with a nōn-ASCII letter using this
     scheme when this feature was introduced) letter followed by a dot ('.'),
     all dots will be stripped from the search term.


     ACRONYMDB  The default acronym database may be overridden by setting the
                environment variable ACRONYMDB to the name of a file in the
                proper format (acronym[tab]meaning).


     /usr/share/misc/acronyms  default acronym database
     /usr/bin/dict             default search path for dictionary client
     /usr/local/bin/dict       standard search path for dictionary client
     /usr/mpkg/bin/dict        extended search path for dictionary client
     /usr/ports/INDEX          default ports index file on BSD.



     https://www.mirbsd.org/wtf.htm - online acronym database query

     https://www.mirbsd.org/acronyms - live updated acronym database
     https://github.com/othyro/wtfubar - another fork of NetBSD's acronyms


     wtf first appeared in NetBSD 1.5. It then was ported to MirOS #0, actual-
     ly being the very reason for MirOS to exist. Initially, wtf only
     translated acronyms; functionality to look up the meaning of terms in
     other sources was added later. Option processing was added in MirOS #11.


     The acronym database is a line-based file consisting of the upper-cased
     (see above) search term, an ASCII HT character, and the definition. The
     file must be sorted ASCIIbetically for the first column.


     mirabilos <m@mirbsd.org> maintains wtf and the acronym database; please
     send any suggestions to him.

MirOS BSD #10-current          October 21, 2015                              1

Generated on 2015-10-25 00:47:46 by $MirOS: src/scripts/roff2htm,v 1.81 2015/10/16 13:19:09 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2015 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.