Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/games/wtf Pull up revision 1.9 (requested by hubertf in t...
details: https://anonhg.NetBSD.org/src/rev/41eba2c41653
branches: netbsd-3
changeset: 576438:41eba2c41653
user: tron <tron%NetBSD.org@localhost>
date: Sat Jul 02 23:25:07 2005 +0000
description:
Pull up revision 1.9 (requested by hubertf in ticket #506):
* Change program logic to not nest needlessly
* Search all acronyms databases, and don't force the user to
know in which category to look (-t is gone)
* If an acronym is not found in the database or by whatis(1),
also check pkg_info(1). Per PR bin/30539 by Geert Hendrickx
(geert.hendrickx%ua.ac.be@localhost)
OK'd by Julio M. Merino Vidal <jmmv>
diffstat:
games/wtf/wtf.6 | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diffs (71 lines):
diff -r 8e79b450eef9 -r 41eba2c41653 games/wtf/wtf.6
--- a/games/wtf/wtf.6 Sat Jul 02 23:25:00 2005 +0000
+++ b/games/wtf/wtf.6 Sat Jul 02 23:25:07 2005 +0000
@@ -1,8 +1,8 @@
-.\" $NetBSD: wtf.6,v 1.8 2003/04/25 19:08:31 jmmv Exp $
+.\" $NetBSD: wtf.6,v 1.8.6.1 2005/07/02 23:25:07 tron Exp $
.\"
.\" Public Domain
.\"
-.Dd April 25, 2003
+.Dd June 22, 2005
.Dt WTF 6
.Os
.Sh NAME
@@ -11,7 +11,6 @@
.Sh SYNOPSIS
.Nm
.Op Fl f Ar dbfile
-.Op Fl t Ar type
.Op Ar is
.Ar acronym Ar ...
.Sh DESCRIPTION
@@ -19,11 +18,13 @@
.Nm
utility displays the expansion of the acronyms
specified on the command line.
-If the acronym is unknown,
+If the acronym is not in any of the acronyms databases,
.Nm
will check to see if the acronym is known by the
.Xr whatis 1
-command.
+or the
+.Xr pkg_info 1
+commands.
.Pp
If
.Dq is
@@ -38,13 +39,6 @@
Overrides the default acronym database, bypassing the value of the
.Ev ACRONYMDB
variable.
-.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.
.El
.Sh ENVIRONMENT
.Bl -tag -width ACRONYMDB
@@ -52,7 +46,9 @@
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).
+to the name of one or more space-seperated 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
@@ -62,6 +58,7 @@
computer-related acronym database.
.El
.Sh SEE ALSO
+.Xr pkg_info 1 ,
.Xr whatis 1
.Sh HISTORY
.Nm
Home |
Main Index |
Thread Index |
Old Index