]>
Commit | Line | Data |
---|---|---|
3185942a JA |
1 | # Test the substitution quoting characters (CTLESC and CTLNUL) in different |
2 | # combinations | |
3 | ||
4 | recho `echo '\7f'` | |
5 | recho `echo "\7f"` | |
6 | recho `echo \7f` | |
7 | ||
8 | # Test the unquoted special quoting characters | |
9 | recho \7f | |
10 | recho "\7f" | |
11 | recho '\7f' | |
12 | ||
13 | # This should give argv[1] = ^A argv[2] = ^? | |
14 | FOO=`echo '\ 1 \7f' | tr ' ' '\012'` | |
15 | recho $FOO | |
16 | ||
17 | # Test patterns that come up when the shell quotes funny character | |
18 | # combinations | |
19 | recho '\ 1\7f' | |
20 | recho '\ 1\7f\ 1\7f' | |
21 | recho '\ 1\ 1\7f' |