From bd11691d6520f7539e7ed2efdf75f266719e27e9 Mon Sep 17 00:00:00 2001 From: Jeff Bailey Date: Thu, 17 Feb 2000 03:03:19 +0000 Subject: Initial revision --- tests/gentest/regexp.1.m4 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 tests/gentest/regexp.1.m4 (limited to 'tests/gentest/regexp.1.m4') diff --git a/tests/gentest/regexp.1.m4 b/tests/gentest/regexp.1.m4 new file mode 100755 index 00000000..d27cf8e7 --- /dev/null +++ b/tests/gentest/regexp.1.m4 @@ -0,0 +1,21 @@ +#!/bin/sh + +# gentest/regexp.1.m4 is part of the GNU m4 testsuite +# generated from example in ../doc/m4.texinfo line 2853 + +. ${srcdir}/defs + +cat <<\EOF >in +regexp(`GNUs not Unix', `\<[a-z]\w+') +regexp(`GNUs not Unix', `\ok +5 +-1 +EOF + +$M4 -d in >out + +$CMP -s out ok + -- cgit v1.2.1