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