Home | History | Annotate | only in /src/games/wtf
History log of /src/games/wtf
RevisionDateAuthorComments
 1.1 22-Jul-1999  mrg Allen Briggs' wtf(6) to grovel the acronyms database.
 1.26 05-Aug-2025  charlotte wtf(6): Whitespace.
 1.25 16-Aug-2018  maya Try freebsd's pkg-info as well

From John Hein, via Nikolai Lifanov. PR misc/52684
 1.24 07-Mar-2018  eadler branches: 1.24.2;
wtf(6): use character classes

ok pgoyette@ silence dholland@
 1.23 07-Mar-2018  eadler wtf(6): quote "$f"

ok pgoyette@ silence dholland@
 1.22 17-Jan-2018  pgoyette branches: 1.22.2;
Don't skip the superfluous "is" argument if it's not superfluous!

This allows us to use `wtf is` and get information for the acronym "is"
and produces the same output as `wtf is is` withough requiring the extra
typing by the user.
 1.21 21-Apr-2015  christos obey $ACRONYMDB like before
 1.20 21-Apr-2015  christos Add -o flag.
 1.19 20-Nov-2012  abs PR/47178 from Bug Hunting

src/games/wtf/wtf:
- Correct `usage' (to match new `SYNOPSIS' from man page);
- augment comment on quering pkgsrc's help facility;
- correct interpretation of pkgsrc' help facility query result.

src/games/wtf/wtf.6:
- enhance `SYNOPSIS', document description (`.Dd'), and overal
program description;
- augment description about quering pkgsrc's help facility;
- improve wording;
- augment `HISTORY' section;
- bump date.
 1.18 03-Oct-2012  wiz - correct `usage' message;
- improve wording.

From Bug Hunting.
 1.17 26-Apr-2012  christos branches: 1.17.2;
use modern shell constructs
 1.16 26-Apr-2012  jschauma allow multiple '-f acronyms' arguments to be given, which makes this behave
more consistently with ACRONYMSDB, which may also point to multiple files
 1.15 06-Aug-2007  hubertf branches: 1.15.14; 1.15.32;
Teach wtf(6) about pkgsrc's help facility:

% cd /usr/pkgsrc/audio/qsynth
% wtf subst
subst: ===> mk/subst.mk:
# This Makefile fragment implements a general text replacement facility.
...
 1.14 24-Jan-2007  hubertf - Don't call basename $0 at many places. Use variable $PROGNAME
- Better check when neither $ACRONYMDB is define nor files in
/usr/share/misc/ are found
- Replace cat | fgrep to using fgrep only
- Replace sort | uniq to using sort -u

By Slava Semushin <slava.semushin@gmail.com> in private email.
 1.13 01-Jul-2005  peter Remove the -t flag from the usage.
 1.12 22-Jun-2005  hubertf * 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)

OK'd by Julio M. Merino Vidal <jmmv>
 1.11 25-Apr-2003  jmmv branches: 1.11.4; 1.11.6;
Implement a -t option, to easily select an acronyms list from /usr/share/misc.
One can do `wtf -t comp pci' and it will use /usr/share/misc/acronyms.comp
to search the acronym as usual.
 1.10 10-Apr-2003  jmmv And use basename $0 to get program's name...
 1.9 10-Apr-2003  jmmv Implement the `-f' command line option to specify which acronyms database
to use. Overrides ACRONYMDB's value, if given.
 1.8 06-Feb-2003  salo Use pipe ("|") as a sed command field separator and allow slash ("/")
character in acronyms. (e.g. W/, B/C, ...)

Approved by jdolecek.
 1.7 21-Nov-2000  soren Just print basename in usage string.
 1.6 15-Nov-1999  hubertf Do not match non-literals (REs).

A slightly different patch was submitted in PR 8388 by
Antti Kantee <pooka@iki.fi>
 1.5 13-Aug-1999  sommerfeld branches: 1.5.4;
Fix the part of pr8201 which is IMHO a bug: the error message now goes
to stderr.

The existing error message ("I don't know what xxx means") is
unchanged, as it is stylisticly in keeping with the light-hearted
nature of the program, and is also more likely to be accurate than the
"no such acronym" error message proposed in 8201.
 1.4 27-Jul-1999  drochner make sure only whole words are matched, use [:space:] RE to avoid embedded
<TAB>s
 1.3 25-Jul-1999  briggs Check whatis(1) if we don't find an acronym matching the argument
 1.2 22-Jul-1999  lukem remove sh warning when invoked with no args
 1.1 22-Jul-1999  mrg Allen Briggs' wtf(6) to grovel the acronyms database.
 1.5.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.11.6.1 02-Jul-2005  tron Pull up revision 1.12 (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)
OK'd by Julio M. Merino Vidal <jmmv>
 1.11.4.1 05-Jul-2005  riz Pull up revision 1.12 (requested by hubertf in ticket #2035):
* 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)
OK'd by Julio M. Merino Vidal <jmmv>
 1.15.32.3 16-Jan-2013  yamt sync with (a bit old) head
 1.15.32.2 30-Oct-2012  yamt sync with head
 1.15.32.1 23-May-2012  yamt sync with head.
 1.15.14.2 06-Aug-2007  hubertf Teach wtf(6) about pkgsrc's help facility:

% cd /usr/pkgsrc/audio/qsynth
% wtf subst
subst: ===> mk/subst.mk:
# This Makefile fragment implements a general text replacement facility.
...
 1.15.14.1 06-Aug-2007  hubertf file wtf was added on branch matt-mips64 on 2007-08-06 21:14:37 +0000
 1.17.2.2 25-Feb-2013  tls resync with head
 1.17.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.2.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.22.2.1 15-Mar-2018  pgoyette Synch with HEAD
 1.24.2.1 10-Jun-2019  christos Sync with HEAD
 1.19 22-Apr-2015  christos PR/49850: Nikolai Lifanov: Document acronyms-o
 1.18 22-Apr-2015  wiz Fix typo, remove trailing space.
 1.17 21-Apr-2015  christos Add -o flag.
 1.16 20-Nov-2012  abs PR/47178 from Bug Hunting

src/games/wtf/wtf:
- Correct `usage' (to match new `SYNOPSIS' from man page);
- augment comment on quering pkgsrc's help facility;
- correct interpretation of pkgsrc' help facility query result.

src/games/wtf/wtf.6:
- enhance `SYNOPSIS', document description (`.Dd'), and overal
program description;
- augment description about quering pkgsrc's help facility;
- improve wording;
- augment `HISTORY' section;
- bump date.
 1.15 03-Oct-2012  wiz Bump date for previous.
 1.14 03-Oct-2012  wiz - improve wording and overall program description (notably for `-f');
- improve macro usage;
- bump date.

From Bug Hunting.
 1.13 04-May-2009  wiz branches: 1.13.6; 1.13.12;
Remove trailing whitespace.
 1.12 06-Aug-2007  hubertf branches: 1.12.14; 1.12.18;
Teach wtf(6) about pkgsrc's help facility:

% cd /usr/pkgsrc/audio/qsynth
% wtf subst
subst: ===> mk/subst.mk:
# This Makefile fragment implements a general text replacement facility.
...
 1.11 17-Jun-2006  reed Fix typo or mispelling.
 1.10 26-Jun-2005  wiz Drop trailing space.
 1.9 22-Jun-2005  hubertf * 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)

OK'd by Julio M. Merino Vidal <jmmv>
 1.8 25-Apr-2003  jmmv branches: 1.8.4; 1.8.6;
Implement a -t option, to easily select an acronyms list from /usr/share/misc.
One can do `wtf -t comp pci' and it will use /usr/share/misc/acronyms.comp
to search the acronym as usual.
 1.7 11-Apr-2003  jmmv Mention the /usr/share/misc/acronyms.comp database.
 1.6 10-Apr-2003  jmmv Implement the `-f' command line option to specify which acronyms database
to use. Overrides ACRONYMDB's value, if given.
 1.5 26-Sep-2002  wiz New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
 1.4 02-Apr-2001  wiz Whitespace and/or punctuation fixes.
 1.3 25-Jul-1999  briggs Check whatis(1) if we don't find an acronym matching the argument
 1.2 25-Jul-1999  thorpej We're in section 6.
 1.1 22-Jul-1999  mrg Allen Briggs' wtf(6) to grovel the acronyms database.
 1.8.6.2 02-Jul-2005  tron Pull up revision 1.10 (requested by hubertf in ticket #507):
Drop trailing space.
 1.8.6.1 02-Jul-2005  tron 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)
OK'd by Julio M. Merino Vidal <jmmv>
 1.8.4.2 05-Jul-2005  riz Pull up revision 1.10 (requested by hubertf in ticket #2036):
Drop trailing space.
 1.8.4.1 05-Jul-2005  riz Pull up revision 1.9 (requested by hubertf in ticket #2035):
* 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)
OK'd by Julio M. Merino Vidal <jmmv>
 1.12.18.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.12.14.2 06-Aug-2007  hubertf Teach wtf(6) about pkgsrc's help facility:

% cd /usr/pkgsrc/audio/qsynth
% wtf subst
subst: ===> mk/subst.mk:
# This Makefile fragment implements a general text replacement facility.
...
 1.12.14.1 06-Aug-2007  hubertf file wtf.6 was added on branch matt-mips64 on 2007-08-06 21:14:38 +0000
 1.13.12.2 25-Feb-2013  tls resync with head
 1.13.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.6.2 16-Jan-2013  yamt sync with (a bit old) head
 1.13.6.1 30-Oct-2012  yamt sync with head

RSS XML Feed