diff options
Diffstat (limited to 'tests/gentest/patsubst.2.m4')
-rwxr-xr-x | tests/gentest/patsubst.2.m4 | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/gentest/patsubst.2.m4 b/tests/gentest/patsubst.2.m4 deleted file mode 100755 index f8644359..00000000 --- a/tests/gentest/patsubst.2.m4 +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# gentest/patsubst.2.m4 is part of the GNU m4 testsuite -# generated from example in ../doc/m4.texinfo line 3000 - -. ${srcdir}/defs - -cat <<\EOF >in -define(`upcase', `translit(`$*', `a-z', `A-Z')')dnl -define(`downcase', `translit(`$*', `A-Z', `a-z')')dnl -define(`capitalize1', - `regexp(`$1', `^\(\w\)\(\w*\)', `upcase(`\1')`'downcase(`\2')')')dnl -define(`capitalize', - `patsubst(`$1', `\w+', `capitalize1(`\&')')')dnl -capitalize(`GNUs not Unix') -EOF - -cat <<\EOF >ok -Gnus Not Unix -EOF - -$M4 -d in >out - -$CMP -s out ok - |