wok-current view m4/description.txt @ rev 25434

Up znc (1.8.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 29 10:14:47 2022 +0000 (2022-08-29)
parents
children
line source
1 GNU M4 is an implementation of the traditional Unix macro processor.
2 It is mostly SVR4 compatible although it has some extensions
3 (for example, handling more than 9 positional parameters to macros).
4 GNU M4 also has built-in functions for including files, running shell
5 commands, doing arithmetic, etc.
7 GNU M4 is a macro processor in the sense that it copies its input to
8 the output expanding macros as it goes. Macros are either builtin or
9 user-defined and can take any number of arguments.
10 Besides just doing macro expansion, m4 has builtin functions for
11 including named files, running UNIX commands, doing integer arithmetic,
12 manipulating text in various ways, recursion etc...
13 m4 can be used either as a front-end to a compiler or as a macro
14 processor in its own right.
16 One of the biggest users of GNU M4 is the GNU Autoconf project.