AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
M4 ( 1 ) M4 ( 1) NAME m4 - macro processor SYNOPSIS m4 [ options ] [ files ] DESCRIPTION M4 is a macro processor intended as a front end for Ratfor, C, and other languages. Each of the argument files is processed in order; if there are no files, or if a file name is -, the standard input is read. The processed text is written on the standard output. The options and their effects are as follows: -e Operate interactively. Interrupts are ignored and the output is unbuffered. Using this mode requires a special state of mind. -s Enable line sync output for the C preprocessor (#line . .. ) -Bint Change the size of the push-back and argument collection buffers from the default of 4,096. -Hint Change the size of the symbol table hash array from the default of 199. The size should be prime. -Sint Change the size of the call stack from the default of 100 slots. Macros take three slots, and non-macro arguments take one. -Tint Change the size of the token buffer from the default of 512 bytes. To be effective, these flags must appear before any file names and before any -D or -U flags: -Dname [=val] Defines name to val or to null in val's absence. -Uname undefines name . Macro calls have the form: name(arg1,arg2, . .. , argn) The ( must immediately follow the name of the macro. If the name of a defined macro is not followed by a (, it is deemed to be a call of that macro with no arguments. Potential macro names consist of alphabetic letters, digits, and underscore _, where the first character is not a digit. Leading unquoted blanks, tabs, and new-lines are ignored while collecting arguments. Left and right single quotes are used to quote strings. The value of a quoted string is the string stripped of the quotes. When a macro name is recognized, its arguments are collected by searching for a matching right parenthesis. If fewer arguments are supplied than are in the macro definition, the trailing arguments are taken to be null. Macro evaluation proceeds normally during - 1 -
- Page 364 and 365: KSH(l) KSH ( 1) A command is either
- Page 366 and 367: KSH ( 1) KSH ( 1) The following exp
- Page 368 and 369: KSH ( 1) KSH ( 1) ${parameter%patte
- Page 370 and 371: KSH ( 1) KSH(l) with the parameter
- Page 372 and 373: KSH ( 1) KSH(l) redirected using a
- Page 374 and 375: KSH ( 1) KSH(l) variables whose sco
- Page 376 and 377: KSH ( 1 ) KSH(l) Command Re-entry.
- Page 378 and 379: KSH(l) KSH(l) using paper terminals
- Page 380 and 381: KSH ( 1) KSH ( 1) [count]Tc Equival
- Page 382 and 383: KSH ( 1) KSH(I) Line feed and print
- Page 384 and 385: KSH ( 1 ) KSH ( 1) fc -e - [ old= n
- Page 386 and 387: KSH ( 1 ) KSH(l) ?, the remainder o
- Page 388 and 389: KSH (l) KSH(l) test [ expr ] Evalua
- Page 390 and 391: KSH ( 1 ) KSH(l) ulimit [ -cdfmpt 1
- Page 393 and 394: LD ( 1 ) LD (1) NAME ld - link edit
- Page 395: LD ( 1 ) FILES LD ( 1) allow compat
- Page 398 and 399: LEX(l) LEX(l) EXAMPLE character def
- Page 401 and 402: LINT ( l ) LINT ( 1 ) NAME lint - a
- Page 403: LOGNAME ( l ) LOGNAME ( l ) NAME lo
- Page 406 and 407: I� �- '--- . ·
- Page 408 and 409: LP (l) LP (l) -ooption Specify prin
- Page 410 and 411: LPSTAT (l) LPSTAT (l) SEE ALSO enab
- Page 412 and 413: LS (l) LS (l) -f Force each argumen
- Page 416 and 417: M4 ( 1) M4 ( 1) the collection of t
- Page 418 and 419: M4 (1) sysval maketemp m4exit m4wra
- Page 420 and 421: MAIL ( 1) MAIL (l) FILES each perso
- Page 422 and 423: MAKE(l) MAKE (l) .PRECIOUS Dependen
- Page 424 and 425: MAKE (l) MAKE (l) Strings (for the
- Page 426 and 427: MAKE ( 1) MAKE ( 1) Libraries If a
- Page 428 and 429: .� ... ,' ' · - -
- Page 430 and 431: ,�
- Page 432 and 433: (�
- Page 434 and 435: I� / _:�
- Page 437 and 438: MM(I) MM(I) NAME mm, osdd, checkmm
- Page 439 and 440: MMT ( l ) MMT ( l ) NAME mmt, mvt -
- Page 441 and 442: MORE ( I) MORE ( l ) NAME more, pag
- Page 443 and 444: MORE ( I ) MORE (I ) v Start up the
- Page 445 and 446: NEWFORM (l) NEWFORM (l) NAME newfor
- Page 447: NEWFORM (l) NEWFORM (l) EXIT CODES
- Page 451 and 452: NICE ( l ) NICE ( l ) NAME nice - r
- Page 453 and 454: NL(l) NL(l) NAME nl - line numberin
- Page 455 and 456: NM (l) NM (l) NAME nm - print name
- Page 457: NOHUP ( l ) NOHUP ( l ) NAME nohup
- Page 460 and 461: NROFF(l) NROFF(l) FILES BUGS (gener
- Page 462 and 463: i �'. l ' .·· I�
M4 ( 1 ) M4 ( 1)<br />
NAME m4 - macro processor<br />
SYNOPSIS<br />
m4 [ options ] [ files ]<br />
DESCRIPTION<br />
M4 is a macro processor intended as a front end for Ratfor, C,<br />
and other languages. Each of the argument files is processed in<br />
order; if there are no files, or if a file name is -, the standard<br />
input is read. The processed text is written on the standard output.<br />
The options and their effects are as follows:<br />
-e Operate interactively. Interrupts are ignored and the output<br />
is unbuffered. Using this mode requires a special state<br />
of mind.<br />
-s Enable line sync output for the C preprocessor (#line<br />
. .. )<br />
-Bint Change the size of the push-back and argument collection<br />
buffers from the default of 4,096.<br />
-Hint Change the size of the symbol table hash array from the<br />
default of 199. The size should be prime.<br />
-Sint Change the size of the call stack from the default of 100<br />
slots. Macros take three slots, and non-macro arguments<br />
take one.<br />
-Tint Change the size of the token buffer from the default of<br />
512 bytes.<br />
To be effective, these flags must appear before any file names and<br />
before any -D or -U flags:<br />
-Dname [=val]<br />
Defines name to val or to null in val's absence.<br />
-Uname<br />
undefines name .<br />
Macro calls have the form:<br />
name(arg1,arg2, . .. , argn)<br />
The ( must immediately follow the name of the macro. If the<br />
name of a defined macro is not followed by a (, it is deemed to be<br />
a call of that macro with no arguments. Potential macro names<br />
consist of alphabetic letters, digits, and underscore _, where the<br />
first character is not a digit.<br />
Leading unquoted blanks, tabs, and new-lines are ignored while<br />
collecting arguments. Left and right single quotes are used to<br />
quote strings. The value of a quoted string is the string stripped<br />
of the quotes.<br />
When a macro name is recognized, its arguments are collected by<br />
searching for a matching right parenthesis. If fewer arguments are<br />
supplied than are in the macro definition, the trailing arguments<br />
are taken to be null. Macro evaluation proceeds normally during<br />
- 1 -