blob: 51a4396afda35cd758a4148acc9ac828cd22a1b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# translit.1.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 2933
. ${srcdir}/defs
cat <<\EOF >in
translit(`GNUs not Unix', `A-Z')
translit(`GNUs not Unix', `a-z', `A-Z')
translit(`GNUs not Unix', `A-Z', `z-a')
EOF
cat <<\EOF >ok
s not nix
GNUS NOT UNIX
tmfs not fnix
EOF
$M4 -d in >out
$CMP -s out ok
|