歡迎您光臨本站 註冊首頁

linux m4命令

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0

M4

官方下載地址

M4 (1.4): [url]ftp://ftp.gnu.org/gnu/m4/[/url]

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


[火星人 ] linux m4命令已經有738次圍觀

http://coctec.com/docs/linux/show-post-54915.html