MirOS Manual: wtf(1)

WTF(1)                       BSD Reference Manual                       WTF(1)

NAME

     wtf - translates acronyms for you

SYNOPSIS

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

DESCRIPTION

     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      Same as -p, except match in package name only.

     -t arg  Ignored (for compatibility).

     -V      Display the version of wtf and the acronyms database.

     -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.

     The search term is translated to upper case for lookup, but besides the
     26 latin letters [a-z], the only Unicode characters mapped are listed in
     the first line of the acronyms database. Furthermore, all dots will be
     stripped from the search term if it contains, after upper-casing, an
     ASCII letter [A-Z] followed by a dot ('.').

ENVIRONMENT

     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).

FILES

     /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.

SEE ALSO

     whatis(1)

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

     https://github.com/Natureshadow/MirWTFApp - Android implementation

     https://www.mirbsd.org/acronyms - live updated acronym database

     https://github.com/othyro/wtfubar - another fork of NetBSD's acronyms

HISTORY

     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.

CAVEATS

     The acronym database is a line-based file consisting of the upper-cased
     (see above) search term, an ASCII HT character, and the definition. All
     lines without a HT (tab) character are considered comment lines. The file
     must be sorted ASCIIbetically for the first column. The list of addition-
     al lower/upper-case pairs (separated by spaces) must be on the first
     line, with two leading spaces (so it sorts first).

FEEDBACK

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

MirOS BSD #10-current         February 11, 2016                              1

Generated on 2016-04-09 18:24:16 by $MirOS: src/scripts/roff2htm,v 1.83 2016/03/26 23:38:28 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–2016 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.