MirBSD manpage: wtf(1)

WTF(1)                       BSD Reference Manual                       WTF(1)


     wtf - translates acronyms and abbreviations for you and searches further


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


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

     -A      Search every supported source.

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

     -K      Search manual pages with man -k (also known as apropos).

     -k      Search manual pages (same as as -k), but match in page name only.

     -P      Search the (apt or yum) 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      Show matching manual page with man -f (also known as whatis).

     -y      Show reverse dependencies of packages (currently dpkg-only);
             every search term ("acronym") is treated as package pattern.

             Alternative dependencies are prefixed with a pipe sign ('|'),
             unconditional ones with a space. Package relationships are de-
             duplicated per (real or virtual) package expanded from the pat-
             tern: unconditional implies alternative, (Pre-)Depends silence
             Recommends imply Suggests beat Enhanced-By.

             Virtual and not installed packages show up as "[no version]".

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

     If any of the -AadKkPpwy options are given (set or unset), no other or
     default 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 case-folding, an
     ASCII letter [A-Z] followed by a dot ('.'), or begins with a dot and is
     not comprised solely of dots and dashes.


     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.



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

     https://edugit.org/nik/MirWTFApp - Android implementation

     https://apps.apple.com/us/app/wtf/id1264589483 - for Apple iOS

     http://www.mirbsd.org/acronyms.gz - 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 MirBSD #0, actu-
     ally 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 MirBSD #11.


     The acronym database is a line-based file consisting of the case-folded
     (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).

     The -y functionality currently ignores any architecture qualifiers on
     package names, both in dpkg's package database and in the package rela-
     tionships. This is because it's implemented without requiring
     libdpkg-perl and in a portable way in shell. It also does not yet handle
     Provides in the matched packages.


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

MirBSD #10-current            September 4, 2020                              1

Generated on 2021-01-25 02:04:05 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

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