2003-04-25 23:08:31 +04:00
|
|
|
.\" $NetBSD: wtf.6,v 1.8 2003/04/25 19:08:31 jmmv Exp $
|
1999-07-22 05:03:20 +04:00
|
|
|
.\"
|
|
|
|
.\" Public Domain
|
|
|
|
.\"
|
2003-04-25 23:08:31 +04:00
|
|
|
.Dd April 25, 2003
|
1999-07-26 00:02:48 +04:00
|
|
|
.Dt WTF 6
|
1999-07-22 05:03:20 +04:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm wtf
|
|
|
|
.Nd translates acronyms for you
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2003-04-10 13:18:24 +04:00
|
|
|
.Op Fl f Ar dbfile
|
2003-04-25 23:08:31 +04:00
|
|
|
.Op Fl t Ar type
|
1999-07-22 05:03:20 +04:00
|
|
|
.Op Ar is
|
|
|
|
.Ar acronym Ar ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2001-04-03 02:42:37 +04:00
|
|
|
utility displays the expansion of the acronyms
|
2002-09-26 20:12:39 +04:00
|
|
|
specified on the command line.
|
|
|
|
If the acronym is unknown,
|
1999-07-26 00:29:04 +04:00
|
|
|
.Nm
|
|
|
|
will check to see if the acronym is known by the
|
|
|
|
.Xr whatis 1
|
|
|
|
command.
|
1999-07-22 05:03:20 +04:00
|
|
|
.Pp
|
|
|
|
If
|
|
|
|
.Dq is
|
|
|
|
is specified on the command line, it will be ignored, allowing the
|
2001-04-03 02:42:37 +04:00
|
|
|
fairly natural
|
1999-07-22 05:03:20 +04:00
|
|
|
.Dq wtf is WTF
|
|
|
|
usage.
|
2003-04-10 13:18:24 +04:00
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width flag
|
|
|
|
.It Fl f Ar dbfile
|
|
|
|
Overrides the default acronym database, bypassing the value of the
|
|
|
|
.Ev ACRONYMDB
|
|
|
|
variable.
|
2003-04-25 23:08:31 +04:00
|
|
|
.It Fl t Ar type
|
|
|
|
Specifies the acronym's type.
|
|
|
|
Simply put, it makes the program use the acronyms database named
|
|
|
|
.Pa /usr/share/misc/acronyms.type ,
|
|
|
|
where
|
|
|
|
.Ar type
|
|
|
|
is given by the argument.
|
2003-04-10 13:18:24 +04:00
|
|
|
.El
|
1999-07-22 05:03:20 +04:00
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width ACRONYMDB
|
|
|
|
.It Ev ACRONYMDB
|
|
|
|
The default acronym database may be overridden by setting the
|
|
|
|
environment variable
|
|
|
|
.Ev ACRONYMDB
|
|
|
|
to the name of a file in the proper format (acronym[tab]meaning).
|
|
|
|
.El
|
|
|
|
.Sh FILES
|
2003-04-11 15:13:34 +04:00
|
|
|
.Bl -tag -width /usr/share/misc/acronyms.XXXX -compact
|
1999-07-22 05:03:20 +04:00
|
|
|
.It Pa /usr/share/misc/acronyms
|
|
|
|
default acronym database.
|
2003-04-11 15:13:34 +04:00
|
|
|
.It Pa /usr/share/misc/acronyms.comp
|
|
|
|
computer-related acronym database.
|
1999-07-22 05:03:20 +04:00
|
|
|
.El
|
1999-07-26 00:29:04 +04:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr whatis 1
|
1999-07-22 05:03:20 +04:00
|
|
|
.Sh HISTORY
|
|
|
|
.Nm
|
|
|
|
first appeared in
|
|
|
|
.Nx 1.5 .
|