mirror of
https://https.git.savannah.gnu.org/git/m4.git
synced 2026-01-27 18:04:52 +00:00
* examples/patsubst.m4, modules/modtest.m4, modules/shadow.m4, * examples/reverse.m4, tests/other-tests/import-environment.m4, * tests/other-tests/iso8859.m4: Don't produce trailing blanks. * tests/other-tests/import-environment.test: Don't check LANGUAGE as it might be `unset', or set to `C'. * tests/other-tests/iso8859.test, tests/other-tests/modpath1.test, * tests/other-tests/modpath2.test, tests/other-tests/modpath3.test, * tests/other-tests/modpath4.test, tests/other-tests/modtest.test, * tests/other-tests/patsubst.test, tests/other-tests/reverse.test, * tests/other-tests/shadow.test: Adjust. * tests/testsuite.at, tests/others.at: New. * tests/Makefile.am: Adjust.
5 lines
168 B
Plaintext
5 lines
168 B
Plaintext
define(`reverse', `ifelse(eval($# > 1), 1, `reverse(shift($@)), `$1'', ``$1'')')
|
|
``'' => reverse.
|
|
``hej'' => reverse(hej).
|
|
``hej, med, dig'' => reverse(hej, med, dig).
|