--------------------------------------------------------------------------------------
GNU M4 Introduction:
The GNU M4 is an implementation of a traditional UNIX macro processor. It is primarily compatible with SVR4, although it has some extensions (for example, a macro that handles more than 9 positional parameters). The GNU M4 also has built-in functions to contain files, run shell commands, do arithmetic operations, and so on.
The GNU M4 is, in a sense, a macro processor that replicates input to the extended macro output. Macros are neither built-in nor user-defined, and can take any number of arguments. In addition to macro expansion, M4 has built-in functions to contain named files, run UNIX commands, do integer operations, manipulate text in various ways, recursion, etc.. M4 itself can be used either as a compiler's frontend or as a macro processor.
One of the largest users of the GNU M4 is the GNU Autoconf Project.
Download M4:
The most recent stable version is 1.4.17, which can be found on http://ftp.gnu.org/gnu/m4/and ftp://ftp.gnu.org/gnu/m4/. can also be in one of our FTP images. The stable version of the development branch can also be checked out from git using the following:
git clone git://git.sv.gnu.org/m4 或 git clone http://git.savannah.gnu.org/r/m4.git
git checkout -b branch-1.6 origin/branch-1.6
Document:
GNU M4 documentation can be found in http://www.gnu.org/software/m4/manual/. You can also find more information about the GNU M4 by locating a local document. For example, you can view /usr/share/doc/m4/, or use info M4at the shell prompt.
Mailing list:
GNU M4 has several mailing lists: <[email protected], <[email protected], <[email protected] <[email protected]>. The archives of these lists are available, and the details of each list are viewed through the linked archive.
You can subscribe to any GNU mailing list via the web in the way described below. Or you can send an empty message with the title "subscribe" only to the relevant request list. For example, to subscribe to the BUG-M4 list, you send an email to [email protected], no content and subject name is: "Subscribe".
Notice:
A small mailing list m4-announce contains all the announcements about the GNU M4. Important M4 notices and most other GNU software are also generated by <[email protected]>.
Development tracking:
A moderate number of mailing lists BUG-M4 track all bug reports. For more information about submitted bugs, see the Reporting Bugs section below.
Request for improvement: ...
Report a BUG: ...
Maintenance Personnel: ...
Translate from:http://www.gnu.org/software/m4/m4.html
Link:http://www.cnblogs.com/farwish/p/4899676.html
by:@ Black Eyed poet <www.farwish.com>
GNU M4-gnu Project-free Software Foundation (FSF)