source: trunk/essentials/sys-devel/m4/doc/m4.1

Last change on this file was 3090, checked in by bird, 18 years ago

m4 1.4.8

File size: 3.2 KB
Line 
1.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2.TH M4 "1" "November 2006" "FSF" "User Commands"
3.SH NAME
4M4 \- macro processor
5.SH SYNOPSIS
6.B m4
7[\fIOPTION\fR]... [\fIFILE\fR]...
8.SH DESCRIPTION
9Process macros in FILEs. If no FILE or if FILE is `\-', standard input
10is read.
11.PP
12Mandatory or optional arguments to long options are mandatory or optional
13for short options too.
14.SS "Operation modes:"
15.TP
16\fB\-\-help\fR
17display this help and exit
18.TP
19\fB\-\-version\fR
20output version information and exit
21.TP
22\fB\-E\fR, \fB\-\-fatal\-warnings\fR
23stop execution after first warning
24.TP
25\fB\-i\fR, \fB\-\-interactive\fR
26unbuffer output, ignore interrupts
27.TP
28\fB\-P\fR, \fB\-\-prefix\-builtins\fR
29force a `m4_' prefix to all builtins
30.TP
31\fB\-Q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
32suppress some warnings for builtins
33.SS "Preprocessor features:"
34.TP
35\fB\-D\fR, \fB\-\-define=NAME\fR[=\fIVALUE\fR]
36define NAME as having VALUE, or empty
37.TP
38\fB\-I\fR, \fB\-\-include\fR=\fIDIRECTORY\fR
39append DIRECTORY to include path
40.TP
41\fB\-s\fR, \fB\-\-synclines\fR
42generate `#line NUM "FILE"' lines
43.TP
44\fB\-U\fR, \fB\-\-undefine\fR=\fINAME\fR
45undefine NAME
46.SS "Limits control:"
47.TP
48\fB\-G\fR, \fB\-\-traditional\fR
49suppress all GNU extensions
50.TP
51\fB\-H\fR, \fB\-\-hashsize\fR=\fIPRIME\fR
52set symbol lookup hash table size [509]
53.TP
54\fB\-L\fR, \fB\-\-nesting\-limit\fR=\fINUMBER\fR
55change artificial nesting limit [1024]
56.SS "Frozen state files:"
57.TP
58\fB\-F\fR, \fB\-\-freeze\-state\fR=\fIFILE\fR
59produce a frozen state on FILE at end
60.TP
61\fB\-R\fR, \fB\-\-reload\-state\fR=\fIFILE\fR
62reload a frozen state from FILE at start
63.SS "Debugging:"
64.TP
65\fB\-d\fR, \fB\-\-debug\fR[=\fIFLAGS\fR]
66set debug level (no FLAGS implies `aeq')
67.TP
68\fB\-\-debugfile\fR=\fIFILE\fR
69redirect debug and trace output
70.TP
71\fB\-l\fR, \fB\-\-arglength\fR=\fINUM\fR
72restrict macro tracing size
73.TP
74\fB\-t\fR, \fB\-\-trace\fR=\fINAME\fR
75trace NAME when it is defined
76.SS "FLAGS is any of:"
77.TP
78a
79show actual arguments
80.TP
81c
82show before collect, after collect and after call
83.TP
84e
85show expansion
86.TP
87f
88say current input file name
89.TP
90i
91show changes in input files
92.TP
93l
94say current input line number
95.TP
96p
97show results of path searches
98.TP
99q
100quote values as necessary, with a or e flag
101.TP
102t
103trace for all macro calls, not only traceon'ed
104.TP
105x
106add a unique macro call id, useful with c flag
107.TP
108V
109shorthand for all of the above flags
110.PP
111If defined, the environment variable `M4PATH' is a colon\-separated list
112of directories included after any specified by `\-I'.
113.PP
114Exit status is 0 for success, 1 for failure, 63 for frozen file version
115mismatch, or whatever value was passed to the m4exit macro.
116.SH AUTHOR
117Written by Rene' Seindal.
118.SH "REPORTING BUGS"
119Report bugs to <bug\-m4@gnu.org>.
120.SH COPYRIGHT
121Copyright \(co 2006 Free Software Foundation, Inc.
122.br
123This is free software; see the source for copying conditions. There is NO
124warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
125.SH "SEE ALSO"
126The full documentation for
127.B M4
128is maintained as a Texinfo manual. If the
129.B info
130and
131.B M4
132programs are properly installed at your site, the command
133.IP
134.B info m4
135.PP
136should give you access to the complete manual.
Note: See TracBrowser for help on using the repository browser.