summaryrefslogtreecommitdiffstats
path: root/wtf
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2012-10-03 19:50:11 +0000
committerwiz <wiz@NetBSD.org>2012-10-03 19:50:11 +0000
commit8887d14552c9252007460cd7d7b73e11f6ebad9d (patch)
tree438cc109cf08087cdee69eddb1a74cabb42cbd7c /wtf
parent528295fa6283641a79b452d57f12c2ce353ca160 (diff)
downloadbsdgames-darwin-8887d14552c9252007460cd7d7b73e11f6ebad9d.tar.gz
bsdgames-darwin-8887d14552c9252007460cd7d7b73e11f6ebad9d.tar.zst
bsdgames-darwin-8887d14552c9252007460cd7d7b73e11f6ebad9d.zip
- improve wording and overall program description (notably for `-f');
- improve macro usage; - bump date. From Bug Hunting.
Diffstat (limited to 'wtf')
-rw-r--r--wtf/wtf.627
1 files changed, 16 insertions, 11 deletions
diff --git a/wtf/wtf.6 b/wtf/wtf.6
index 1f2f37c3..1da201b9 100644
--- a/wtf/wtf.6
+++ b/wtf/wtf.6
@@ -1,26 +1,28 @@
-.\" $NetBSD: wtf.6,v 1.13 2009/05/04 20:37:28 wiz Exp $
+.\" $NetBSD: wtf.6,v 1.14 2012/10/03 19:50:11 wiz Exp $
.\"
.\" Public Domain
.\"
-.Dd July 27, 2007
+.Dd September 25, 2012
.Dt WTF 6
.Os
.Sh NAME
.Nm wtf
-.Nd translates acronyms for you
+.Nd translate acronyms
.Sh SYNOPSIS
.Nm
.Op Fl f Ar dbfile
.Op Ar is
-.Ar acronym Ar ...
+.Ar acronym ...
.Sh DESCRIPTION
The
.Nm
-utility displays the expansion of the acronyms
+utility displays the expansion of one or more acronyms
specified on the command line.
-If the acronym is not in any of the acronyms databases,
+If an acronym is not in any of the acronym databases,
+which are expected to be in the format
+.Dq acronym[tab]meaning ,
.Nm
-will check to see if the acronym is known by
+will check to see if it is known by
.Xr whatis 1 ,
.Xr pkg_info 1 ,
or via pkgsrc's internal help mechanism,
@@ -36,26 +38,29 @@ usage.
The following options are available:
.Bl -tag -width flag
.It Fl f Ar dbfile
-Overrides the default acronym database, bypassing the value of the
+Overrides the default list of acronym databases, bypassing the value of the
.Ev ACRONYMDB
variable.
+Unlike this variable the
+.Fl f
+option only accepts one file name as an argument,
+but it may be given multiple times to specify more than one file to use.
.El
.Sh ENVIRONMENT
.Bl -tag -width ACRONYMDB
.It Ev ACRONYMDB
-The default acronym database may be overridden by setting the
+The default list of acronym databases may be overridden by setting the
environment variable
.Ev ACRONYMDB
to the name of one or more space-separated file names of
acronym databases.
-The files must be in the proper format (acronym[tab]meaning).
.El
.Sh FILES
.Bl -tag -width /usr/share/misc/acronyms.XXXX -compact
.It Pa /usr/share/misc/acronyms
default acronym database.
.It Pa /usr/share/misc/acronyms.comp
-computer-related acronym database.
+default computer-related acronym database.
.El
.Sh SEE ALSO
.Xr make 1 ,