xref: /netbsd-src/games/wtf/wtf.6 (revision aaf4ece63a859a04e37cf3a7229b5fab0157cc06)
1.\"	$NetBSD: wtf.6,v 1.10 2005/06/26 10:07:23 wiz Exp $
2.\"
3.\" Public Domain
4.\"
5.Dd June 22, 2005
6.Dt WTF 6
7.Os
8.Sh NAME
9.Nm wtf
10.Nd translates acronyms for you
11.Sh SYNOPSIS
12.Nm
13.Op Fl f Ar dbfile
14.Op Ar is
15.Ar acronym Ar ...
16.Sh DESCRIPTION
17The
18.Nm
19utility displays the expansion of the acronyms
20specified on the command line.
21If the acronym is not in any of the acronyms databases,
22.Nm
23will check to see if the acronym is known by the
24.Xr whatis 1
25or the
26.Xr pkg_info 1
27commands.
28.Pp
29If
30.Dq is
31is specified on the command line, it will be ignored, allowing the
32fairly natural
33.Dq wtf is WTF
34usage.
35.Pp
36The following options are available:
37.Bl -tag -width flag
38.It Fl f Ar dbfile
39Overrides the default acronym database, bypassing the value of the
40.Ev ACRONYMDB
41variable.
42.El
43.Sh ENVIRONMENT
44.Bl -tag -width ACRONYMDB
45.It Ev ACRONYMDB
46The default acronym database may be overridden by setting the
47environment variable
48.Ev ACRONYMDB
49to the name of one or more space-seperated file names of
50acronym databases.
51The files must be in the proper format (acronym[tab]meaning).
52.El
53.Sh FILES
54.Bl -tag -width /usr/share/misc/acronyms.XXXX -compact
55.It Pa /usr/share/misc/acronyms
56default acronym database.
57.It Pa /usr/share/misc/acronyms.comp
58computer-related acronym database.
59.El
60.Sh SEE ALSO
61.Xr pkg_info 1 ,
62.Xr whatis 1
63.Sh HISTORY
64.Nm
65first appeared in
66.Nx 1.5 .
67