m4.1 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. .TH M4 1 "May 2003" "GNU m4 1.4o" "GNU User's Manual"
  2. .SH NAME
  3. m4 \- short documentation for m4 1.4o
  4. .SH SYNOPSIS
  5. .B m4
  6. [\fIOPTION\fR]...\fI \fR[\fIFILE\fR]...\fI\fR
  7. .SH DESCRITION
  8. .PP
  9. Mandatory or optional arguments to long options are mandatory or optional
  10. for short options too.
  11. .SS "Operation modes:"
  12. .TP
  13. \fB\-\-help\fR
  14. display this help and exit
  15. .TP
  16. \fB\-\-version\fR
  17. output version information and exit
  18. .TP
  19. \fB\-e\fR, \fB\-\-interactive\fR
  20. unbuffer output, ignore interrupts
  21. .TP
  22. \fB\-E\fR, \fB\-\-fatal\-warnings\fR
  23. stop execution after first warning
  24. .TP
  25. \fB\-Q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
  26. suppress some warnings for builtins
  27. .TP
  28. \fB\-P\fR, \fB\-\-prefix\-builtins\fR
  29. force a `m4_' prefix to all builtins
  30. .SS "Preprocessor features:"
  31. .TP
  32. \fB\-I\fR, \fB\-\-include\fR=\fIDIRECTORY\fR
  33. search this directory second for includes
  34. .TP
  35. \fB\-D\fR, \fB\-\-define=NAME\fR[=\fIVALUE\fR]
  36. enter NAME has having VALUE, or empty
  37. .TP
  38. \fB\-U\fR, \fB\-\-undefine\fR=\fINAME\fR
  39. delete builtin NAME
  40. .TP
  41. \fB\-s\fR, \fB\-\-synclines\fR
  42. generate `#line NO "FILE"' lines
  43. .SS "Limits control:"
  44. .TP
  45. \fB\-G\fR, \fB\-\-traditional\fR
  46. suppress all GNU extensions
  47. .TP
  48. \fB\-H\fR, \fB\-\-hashsize\fR=\fIPRIME\fR
  49. set symbol lookup hash table size
  50. .TP
  51. \fB\-L\fR, \fB\-\-nesting\-limit\fR=\fINUMBER\fR
  52. change artificial nesting limit
  53. .SS "Frozen state files:"
  54. .TP
  55. \fB\-F\fR, \fB\-\-freeze\-state\fR=\fIFILE\fR
  56. produce a frozen state on FILE at end
  57. .TP
  58. \fB\-R\fR, \fB\-\-reload\-state\fR=\fIFILE\fR
  59. reload a frozen state from FILE at start
  60. .SS "Debugging:"
  61. .TP
  62. \fB\-d\fR, \fB\-\-debug\fR=\fI[FLAGS]\fR
  63. set debug level (no FLAGS implies `aeq')
  64. .TP
  65. \fB\-t\fR, \fB\-\-trace\fR=\fINAME\fR
  66. trace NAME when it will be defined
  67. .TP
  68. \fB\-l\fR, \fB\-\-arglength\fR=\fINUM\fR
  69. restrict macro tracing size
  70. .TP
  71. \fB\-o\fR, \fB\-\-error\-output\fR=\fIFILE\fR
  72. redirect debug and trace output
  73. .SS "FLAGS is any of:"
  74. .TP
  75. t
  76. trace for all macro calls, not only traceon'ed
  77. .TP
  78. a
  79. show actual arguments
  80. .TP
  81. e
  82. show expansion
  83. .TP
  84. q
  85. quote values as necessary, with a or e flag
  86. .TP
  87. c
  88. show before collect, after collect and after call
  89. .TP
  90. x
  91. add a unique macro call id, useful with c flag
  92. .TP
  93. f
  94. say current input file name
  95. .TP
  96. l
  97. say current input line number
  98. .TP
  99. p
  100. show results of path searches
  101. .TP
  102. i
  103. show changes in input files
  104. .TP
  105. V
  106. shorthand for all of the above flags
  107. .PP
  108. If no FILE or if FILE is `-', standard input is read.
  109. .SH BUGS
  110. Report bugs to <bug-m4@gnu.org>.
  111. .SH SEE ALSO
  112. The full documentation for
  113. .B m4
  114. is maintained as a Texinfo manual. If the
  115. .B info
  116. and
  117. .B m4
  118. programs are properly installed at your site, the command
  119. .IP
  120. .B info m4
  121. .PP
  122. should allow you to access the manual as an hypertext.