% cd /usr/pkgsrc/audio/qsynth
% wtf subst
subst: ===> mk/subst.mk:
# This Makefile fragment implements a general text replacement facility.
...
#!/bin/sh
#
-# $NetBSD: wtf,v 1.14 2007/01/24 13:17:42 hubertf Exp $
+# $NetBSD: wtf,v 1.15 2007/08/06 21:14:36 hubertf Exp $
#
# Public domain
#
shift ; continue
fi
+ # Try querying pkgsrc's help facility next
+ if [ -f ../../mk/bsd.pkg.mk ] ; then
+ ans=`make help topic="$1"`
+ if [ $? -eq 0 ] ; then
+ echo "$1: $ans"
+ shift ; continue
+ fi
+ fi
+
# Give up!
echo "$PROGNAME: I don't know what $1 means!" 1>&2
rv=1
-.\" $NetBSD: wtf.6,v 1.11 2006/06/17 04:58:14 reed Exp $
+.\" $NetBSD: wtf.6,v 1.12 2007/08/06 21:14:37 hubertf Exp $
.\"
.\" Public Domain
.\"
-.Dd June 22, 2005
+.Dd July 27, 2007
.Dt WTF 6
.Os
.Sh NAME
specified on the command line.
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
-or the
-.Xr pkg_info 1
-commands.
+will check to see if the acronym is known by
+.Xr whatis 1 ,
+.Xr pkg_info 1 ,
+or via pkgsrc's internal help mechanism,
+.Dq make help topic=XXX .
.Pp
If
.Dq is
computer-related acronym database.
.El
.Sh SEE ALSO
+.Xr make 1 ,
.Xr pkg_info 1 ,
.Xr whatis 1
.Sh HISTORY