linux m4命令
作者 佚名技术
来源 Linux系统
浏览
1772
发布时间 2012-05-16
M4官方下载地址M4 (1.4): [url]ftp://ftp.gnu.org/gnu/m4/[/url]M4的内容M4 是一个宏处理器.将输入拷贝到输出,同时将宏展开. 宏可以是内嵌的也可以是用户定义的. 除了可以展开宏,m4还有一些内建的函数,用来引用文件,执行Unix命令,整数运算,文本操作,循环等. m4既可以作为编译器的前端也可以单独作为一个宏处理器.安装下列程序: m4简短说明m4 将输入拷贝到输出,同时将宏展开. 宏可以是内嵌的也可以是用户定义的. 除了可以展开宏,m4还有一些内建的函数,用来引用文件,执行Unix命令,整数运算,文本操作,循环等. m4既可以作为编译器的前端也可以单独作为一个宏处理器. |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
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
error
-i, --interactive
unbuffer output, ignore interrupts
-P, --prefix-builtins
force a ‘m4_’ prefix to all builtins
-Q, --quiet, --silent
suppress some warnings for builtins
--warn-macro-sequence[=REGEXP]
warn if macro definition matches REGEXP, default
$({[^}]*}|[0-9][0-9] )
Preprocessor features:
-D, --define=NAME[=VALUE]
define NAME as having VALUE, or empty
-I, --include=DIRECTORY
append DIRECTORY to include path
-s, --synclines
generate ‘#line NUM "FILE"’ lines
-U, --undefine=NAME
undefine NAME
Limits control:
-G, --traditional
suppress all GNU extensions
-H, --hashsize=PRIME
set symbol lookup hash table size [509]
-L, --nesting-limit=NUMBER
change artificial nesting limit [1024]
Frozen state files:
-F, --freeze-state=FILE
produce a frozen state on FILE at end
-R, --reload-state=FILE
reload a frozen state from FILE at start
Debugging:
-d, --debug[=FLAGS]
set debug level (no FLAGS implies ‘aeq’)
--debugfile=FILE
redirect debug and trace output
-l, --arglength=NUM
restrict macro tracing size
-t, --trace=NAME
trace NAME when it is defined
FLAGS is any of:
a show actual arguments
c show before collect, after collect and after call
e show expansion
f say current input file name
i show changes in input files
l say current input line number
p show results of path searches
q quote values as necessary, with a or e flag
t trace for all
你可能对下面的文章感兴趣
上一篇: 为Ubuntu8.04的grub减减肥下一篇: Linux操作系统各大发行版的官方主页
关于linux m4命令的所有评论