wtf.6.in 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .\" $NetBSD: wtf.6,v 1.8 2003/04/25 19:08:31 jmmv Exp $
  2. .\"
  3. .\" Public Domain
  4. .\"
  5. .Dd April 25, 2003
  6. .Dt WTF 6
  7. .Os
  8. .Sh NAME
  9. .Nm wtf
  10. .Nd translates acronyms for you
  11. .Sh SYNOPSIS
  12. .Nm
  13. .Op Fl f Ar dbfile
  14. .Op Fl t Ar type
  15. .Op Ar is
  16. .Ar acronym Ar ...
  17. .Sh DESCRIPTION
  18. The
  19. .Nm
  20. utility displays the expansion of the acronyms
  21. specified on the command line.
  22. If the acronym is unknown,
  23. .Nm
  24. will check to see if the acronym is known by the
  25. .Xr whatis 1
  26. command.
  27. .Pp
  28. If
  29. .Dq is
  30. is specified on the command line, it will be ignored, allowing the
  31. fairly natural
  32. .Dq wtf is WTF
  33. usage.
  34. .Pp
  35. The following options are available:
  36. .Bl -tag -width flag
  37. .It Fl f Ar dbfile
  38. Overrides the default acronym database, bypassing the value of the
  39. .Ev ACRONYMDB
  40. variable.
  41. .It Fl t Ar type
  42. Specifies the acronym's type.
  43. Simply put, it makes the program use the acronyms database named
  44. .Pa @wtf_acronymfile@.type ,
  45. where
  46. .Ar type
  47. is given by the argument.
  48. .El
  49. .Sh ENVIRONMENT
  50. .Bl -tag -width ACRONYMDB
  51. .It Ev ACRONYMDB
  52. The default acronym database may be overridden by setting the
  53. environment variable
  54. .Ev ACRONYMDB
  55. to the name of a file in the proper format (acronym[tab]meaning).
  56. .El
  57. .Sh FILES
  58. .Bl -tag -width @wtf_acronymfile@.XXXX -compact
  59. .It Pa @wtf_acronymfile@
  60. default acronym database.
  61. .It Pa @wtf_acronymfile@.comp
  62. computer-related acronym database.
  63. .El
  64. .Sh SEE ALSO
  65. .Xr whatis 1
  66. .Sh HISTORY
  67. .Nm
  68. first appeared in
  69. .Nx 1.5 .