2006-06-17 08:58:14 +04:00
|
|
|
.\" $NetBSD: wtf.6,v 1.11 2006/06/17 04:58:14 reed Exp $
|
1999-07-22 05:03:20 +04:00
|
|
|
.\"
|
|
|
|
.\" Public Domain
|
|
|
|
.\"
|
2005-06-23 00:11:03 +04:00
|
|
|
.Dd June 22, 2005
|
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
|
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.
|
2005-06-23 00:11:03 +04:00
|
|
|
If the acronym is not in any of the acronyms databases,
|
1999-07-26 00:29:04 +04:00
|
|
|
.Nm
|
|
|
|
will check to see if the acronym is known by the
|
|
|
|
.Xr whatis 1
|
2005-06-23 00:11:03 +04:00
|
|
|
or the
|
|
|
|
.Xr pkg_info 1
|
|
|
|
commands.
|
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.
|
|
|
|
.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
|
2006-06-17 08:58:14 +04:00
|
|
|
to the name of one or more space-separated file names of
|
2005-06-23 00:11:03 +04:00
|
|
|
acronym databases.
|
2005-06-26 14:07:23 +04:00
|
|
|
The files must be in the proper format (acronym[tab]meaning).
|
1999-07-22 05:03:20 +04:00
|
|
|
.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
|
2005-06-23 00:11:03 +04:00
|
|
|
.Xr pkg_info 1 ,
|
1999-07-26 00:29:04 +04:00
|
|
|
.Xr whatis 1
|
1999-07-22 05:03:20 +04:00
|
|
|
.Sh HISTORY
|
|
|
|
.Nm
|
|
|
|
first appeared in
|
|
|
|
.Nx 1.5 .
|