xref: /netbsd-src/games/wtf/wtf.6 (revision 8b0f9554ff8762542c4defc4f70e1eb76fb508fa)
1.\"	$NetBSD: wtf.6,v 1.12 2007/08/06 21:14:37 hubertf Exp $
2.\"
3.\" Public Domain
4.\"
5.Dd July 27, 2007
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
24.Xr whatis 1 ,
25.Xr pkg_info 1 ,
26or via pkgsrc's internal help mechanism,
27.Dq make help topic=XXX .
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-separated 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 make 1 ,
62.Xr pkg_info 1 ,
63.Xr whatis 1
64.Sh HISTORY
65.Nm
66first appeared in
67.Nx 1.5 .
68