summaryrefslogtreecommitdiff
path: root/tests/gentest/pseudoar.3.m4
blob: 997641f3298a8a37a8a1aa4d9c052f69849b9380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# gentest/pseudoar.3.m4 is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 1125

. ${srcdir}/defs

cat <<\EOF >in
define(`echo', `$@')
echo(arg1,    arg2, arg3 , arg4)
EOF

cat <<\EOF >ok

arg1,arg2,arg3 ,arg4
EOF

$M4 -d in >out

$CMP -s out ok