blob: c3ff8894ddc253a307139fdb57be7b2c20d3dbd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# gentest/regexp.2.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2865
. ${srcdir}/defs
cat <<\EOF >in
regexp(`GNUs not Unix', `\w\(\w+\)$', `*** \& *** \1 ***')
EOF
cat <<\EOF >ok
*** Unix *** nix ***
EOF
$M4 -d in >out
$CMP -s out ok
|