Author Topic: use wtf instead of whatis for phun and for prophit  (Read 346 times)

0 Members and 1 Guest are viewing this topic.

Offline v32itas

  • Peasant
  • *
  • Posts: 123
  • Cookies: -4
  • coup de grâce
    • View Profile
use wtf instead of whatis for phun and for prophit
« on: May 09, 2015, 03:12:19 am »
I was playing some kind of dungeon crawler from OpenBSD games. And later I while I was googling for more games like that i accidently found this.

https://www.youtube.com/watch?v=G6J9m1M6dKs

So I installed it and it is seriously more fun to use than whatis. I mean you just type

Quote
$ wtf ifconfig
ifconfig(8) - configure network interface parameters
$ wtf lol
LOL: laughing out loud
$ wtf mit
MIT: Massachusetts Institute of Technology

here is man page for wtf

Quote
$ man wtf
WTF(6)                           Games Manual                           WTF(6)

NAME
     wtf - look up terms

SYNOPSIS
     wtf [-f dbfile] [is] term ...

DESCRIPTION
     The wtf utility looks up the meaning of one or more term operands
     specified on the command line.

     term will first be searched for as an acronym in the acronym databases,
     which are expected to be in the format ``acronym[tab]meaning''.  If no
     match has been found, wtf will check to see if the term is known by
     whatis(1), pkg_info(1), or, when called from within a pkgsrc package
     directory, pkgsrc's internal help facility, ``make help topic=XXX''.

     The optional is operand will be ignored, allowing the fairly natural
     ``wtf is WTF'' usage.

     The following option is available:

     -f dbfile
           Overrides the default list of acronym databases, bypassing the
           value of the ACRONYMDB variable.  Unlike this variable the -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.

ENVIRONMENT
     ACRONYMDB  The default list of acronym databases may be overridden by
                setting the environment variable ACRONYMDB to the name of one
                or more space-separated file names of acronym databases.

FILES
     /usr/local/share/misc/acronyms       default acronym database.
     /usr/local/share/misc/acronyms.comp  default computer-related acronym
                                          database.

SEE ALSO
     make(1), pkg_info(1), whatis(1)

HISTORY
     wtf first appeared in NetBSD 1.5.  Initially it only translated acronyms;
     functionality to look up the meaning of terms in other sources was added
     later.

OpenBSD 5.7                    November 20, 2012                   OpenBSD 5.7


« Last Edit: May 09, 2015, 04:03:35 am by v32itas »
"There is nothing more deceptive then an obvious fact." - SH

“There was no such thing as a fair fight. All vulnerabilities must be exploited.”
― Cary Caffrey





Offline parad0x

  • VIP
  • Royal Highness
  • *
  • Posts: 638
  • Cookies: 118
    • View Profile
Re: use wtf instead of whatis for phun and for prophit
« Reply #1 on: May 09, 2015, 05:09:13 am »
It'll be phun ;)