This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
3.9 KiB

  1. .TH DICTION 1 "@UPDATED@" "GNU" "User commands"
  2. .SH NAME \"{{{roff}}}\"{{{
  3. diction \- print wordy and commonly misused phrases in sentences
  4. .\"}}}
  5. .SH SYNOPSIS \"{{{
  6. .ad l
  7. .B diction
  8. .RB [ \-f
  9. .IR file
  10. .RB [ \-n | \-L
  11. .IR language ]]
  12. .RI [ file ...]
  13. .ad b
  14. .br
  15. .ad l
  16. .B diction
  17. .RB [ \-\-file
  18. .IR file
  19. .RB [ \-\-no-default-file | \-\-language
  20. .IR language ]]
  21. .RI [ file ...]
  22. .ad b
  23. .br
  24. .ad l
  25. .B diction
  26. .BR \-h | \-\-help
  27. .ad b
  28. .br
  29. .ad l
  30. .B diction \-\-version
  31. .ad b
  32. .\"}}}
  33. .SH DESCRIPTION \"{{{
  34. \fBDiction\fP finds all sentences in a document, that contain phrases
  35. from a database of frequently misused, bad or wordy diction. It further
  36. checks for double words. If no files are given, the document is read
  37. from standard input. Each found phrase is enclosed in \fB[ ]\fP
  38. (brackets). Suggestions and advice, if any, are printed headed by a
  39. right arrow \fB->\fP.
  40. A sentence is a sequence of words, that starts with a capitalised word and
  41. ends with a full stop, double colon, question mark or exclaimation mark.
  42. A single letter followed by a dot is considered an abbreviation, so it
  43. does not terminate a sentence. Various multi-letter abbreviations are
  44. recognized, they do not terminate a sentence as well.
  45. .PP
  46. \fBDiction\fP understands \fIcpp\fP(1) \fB#line\fP lines for being able to
  47. give precise locations when printing sentences.
  48. .\"}}}
  49. .SH OPTIONS \"{{{
  50. .IP "\fB\-f\fP \fIfile\fP, \fB\-\-file\fP \fIfile\fP"
  51. Read the user specified database from the specified \fIfile\fP in addition
  52. to the default database.
  53. .IP "\fB\-n\fP, \fB\-\-no-default-file\fP"
  54. Do not read the default database, so only the user-specified database is used.
  55. .IP "\fB\-L\fP \fIlanguage\fP, \fB\-\-language\fP \fIlanguage\fP"
  56. Set the phrase file language.
  57. .IP "\fB\-h\fP, \fB\-\-help\fP"
  58. Print a short usage message.
  59. .IP \fB\-\-version\fP
  60. Print the version.
  61. .\"}}}
  62. .SH ERRORS \"{{{
  63. On usage errors, 1 is returned. Termination caused by lack of memory is
  64. signalled by exit code 2.
  65. .\"}}}
  66. .SH EXAMPLE \"{{{
  67. The following example first removes all roff constructs and headers
  68. from a document and feeds the result to diction with a German database:
  69. .RS
  70. .sp
  71. deroff -s file.mm | diction -L de | fmt
  72. .RE
  73. .\"}}}
  74. .SH ENVIRONMENT \"{{{
  75. .IP "\fBLC_MESSAGES\fP=\fBde\fP|\fBen\fP"
  76. specifies the message language and is also used as default for the
  77. phrase language. The default language is \fBen\fP.
  78. .\"}}}
  79. .SH FILES \"{{{
  80. .nf
  81. @DATADIR@/diction/* databases for various languages
  82. .fi
  83. .\"}}}
  84. .SH AUTHOR \"{{{
  85. This program is GNU software, copyright 1997, 1998, 1999, 2000, 2001,
  86. 2002 Michael Haardt <michael@moria.de>.
  87. .PP
  88. The english phrase file contains contributions by Greg Lindahl
  89. <lindahl@pbm.com>, Wil Baden, Gary D. Kline, Kimberly Hanks and
  90. Beth Morris.
  91. .PP
  92. This program is free software; you can redistribute it and/or modify
  93. it under the terms of the GNU General Public License as published by
  94. the Free Software Foundation; either version 2 of the License, or
  95. (at your option) any later version.
  96. .PP
  97. This program is distributed in the hope that it will be useful,
  98. but WITHOUT ANY WARRANTY; without even the implied warranty of
  99. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  100. GNU General Public License for more details.
  101. .PP
  102. You should have received a copy of the GNU General Public License along
  103. with this program. If not, write to the Free Software Foundation, Inc.,
  104. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  105. .\"}}}
  106. .SH HISTORY \"{{{
  107. There has been a diction command on old UNIX systems, which is now part
  108. of the AT&T DWB package. The original version was bound to roff by
  109. enforcing a call to deroff.
  110. .\"}}}
  111. .SH "SEE ALSO" \"{{{
  112. deroff(1), fmt(1), style(1)
  113. .PP
  114. Cherry, L.L.; Vesterman, W.: \fIWriting Tools\(emThe STYLE and DICTION
  115. programs\fP, Computer Science Technical Report 91, Bell Laboratories,
  116. Murray Hill, N.J. (1981), republished as part of the 4.4BSD User's
  117. Supplementary Documents by O'Reilly.
  118. .PP
  119. Strunk, William: \fIThe elements of style\fP, Ithaca, N.Y.: Priv. print., 1918,
  120. http://coba.shsu.edu/help/strunk/
  121. .\"}}}