xref: /netbsd-src/games/wtf/wtf.6 (revision d710132b4b8ce7f7cccaaf660cb16aa16b4077a0)
1.\"	$NetBSD: wtf.6,v 1.8 2003/04/25 19:08:31 jmmv Exp $
2.\"
3.\" Public Domain
4.\"
5.Dd April 25, 2003
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 Fl t Ar type
15.Op Ar is
16.Ar acronym Ar ...
17.Sh DESCRIPTION
18The
19.Nm
20utility displays the expansion of the acronyms
21specified on the command line.
22If the acronym is unknown,
23.Nm
24will check to see if the acronym is known by the
25.Xr whatis 1
26command.
27.Pp
28If
29.Dq is
30is specified on the command line, it will be ignored, allowing the
31fairly natural
32.Dq wtf is WTF
33usage.
34.Pp
35The following options are available:
36.Bl -tag -width flag
37.It Fl f Ar dbfile
38Overrides the default acronym database, bypassing the value of the
39.Ev ACRONYMDB
40variable.
41.It Fl t Ar type
42Specifies the acronym's type.
43Simply put, it makes the program use the acronyms database named
44.Pa /usr/share/misc/acronyms.type ,
45where
46.Ar type
47is given by the argument.
48.El
49.Sh ENVIRONMENT
50.Bl -tag -width ACRONYMDB
51.It Ev ACRONYMDB
52The default acronym database may be overridden by setting the
53environment variable
54.Ev ACRONYMDB
55to the name of a file in the proper format (acronym[tab]meaning).
56.El
57.Sh FILES
58.Bl -tag -width /usr/share/misc/acronyms.XXXX -compact
59.It Pa /usr/share/misc/acronyms
60default acronym database.
61.It Pa /usr/share/misc/acronyms.comp
62computer-related acronym database.
63.El
64.Sh SEE ALSO
65.Xr whatis 1
66.Sh HISTORY
67.Nm
68first appeared in
69.Nx 1.5 .
70