M4的內容
M4 是一個宏處理器.將輸入拷貝到輸出,同時將宏展開. 宏可以是內嵌的也可以是用戶定義的. 除了可以展開宏,m4還有一些內建的函數,用來引用文件,執行Unix命令,整數運算,文本操作,循環等. m4既可以作為編譯器的前端也可以單獨作為一個宏處理器.
安裝下列程序: m4
簡短說明
m4 將輸入拷貝到輸出,同時將宏展開. 宏可以是內嵌的也可以是用戶定義的. 除了可以展開宏,m4還有一些內建的函數,用來引用文件,執行Unix命令,整數運算,文本操作,循環等. m4既可以作為編譯器的前端也可以單獨作為一個宏處理器.
M4 安裝依賴關係
M4 依賴於: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Perl, Sed.
m4手冊
man m4:
NAME
m4 - macro processor
SYNOPSIS
m4 [OPTION]... [FILE]...
DESCRIPTION
Process macros in FILEs. If no FILE or if FILE is 『-』, standard input
is read.
Mandatory or optional arguments to long options are mandatory or
optional for short options too.
Operation modes:
--help display this help and exit
--version
output version information and exit
-E, --fatal-warnings
once: warnings become errors, twice: stop execution at first