blob: 1cee65fa744c06d12bb9903e4c2e2daaf57bc0bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# index.1.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2822
. ${srcdir}/defs
cat <<\EOF >in
index(`gnus, gnats, and armadillos', `nat')
index(`gnus, gnats, and armadillos', `dag')
EOF
cat <<\EOF >ok
7
-1
EOF
$M4 -d in >out
$CMP -s out ok
|