| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
With a few exceptions, all the M4 native macros are moved in the
`m4_' pseudo-namespace, e.g., M4sugar renames define as
m4_define etc.
Some M4 macros are redefined, and are slightly incompatible with their native equivalent.
m4_dnl is defined.
m4_undefine.
m4exit.
ifelse.
m4_ifdef([macro], [m4_undefine([macro])]) |
to recover the behavior of the builtin.
patsubst. The name m4_patsubst
is kept for future versions of M4sh, on top of GNU M4 which will
provide extended regular expression syntax via epatsubst.
m4_undefine.
regexp. The name m4_regexp
is kept for future versions of M4sh, on top of GNU M4 which will
provide extended regular expression syntax via eregexp.
m4wrap.
You are encouraged to end text with `[]', so that there are
no risks that two consecutive invocations of m4_wrap result in an
unexpected pasting of tokens, as in
m4_define([foo], [Foo]) m4_define([bar], [Bar]) m4_define([foobar], [FOOBAR]) m4_wrap([bar]) m4_wrap([foo]) =>FOOBAR |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |