blob: acfc17d7e71be8c68af1c750b9736e64490755e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
# gentest/divert.1.m4 is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2580
. ${srcdir}/defs
cat <<\EOF >in
divert(1)
This text is diverted.
divert
This text is not diverted.
EOF
cat <<\EOF >ok
This text is not diverted.
This text is diverted.
EOF
$M4 -d in >out
$CMP -s out ok
|