Enhance substr to support replacement text.
commit6502f317d49a62e0fffca97793bf923cf7897918
authorEric Blake <ebb9@byu.net>
Wed, 7 Jan 2009 14:21:35 +0000 (7 07:21 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 7 Jan 2009 21:12:13 +0000 (7 14:12 -0700)
treec616c6317c460cfd4d94185bfb92f1276e97359a
parentae9dfa87a514d290fe349710a9f643d52856f4ba
Enhance substr to support replacement text.

* doc/m4.texinfo (Substr): Document new semantics.
* modules/m4.c (substr): Support optional fourth argument.
* NEWS: Document this.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit 59d3cfafa8d73e43a974bc066722cd6220cb479f)
ChangeLog
NEWS
doc/m4.texinfo
modules/m4.c