Jari Aalto | 3185942 | 2009-01-12 13:36:28 +0000 | [diff] [blame] | 1 | # Test the substitution quoting characters (CTLESC and CTLNUL) in different |
2 | # combinations | ||||
3 | |||||
4 | recho `echo ''` | ||||
5 | recho `echo ""` | ||||
6 | recho `echo ` | ||||
7 | |||||
8 | # Test the unquoted special quoting characters | ||||
9 | recho | ||||
10 | recho "" | ||||
11 | recho '' | ||||
12 | |||||
13 | # This should give argv[1] = ^A argv[2] = ^? | ||||
14 | FOO=`echo ' ' | tr ' ' '\012'` | ||||
15 | recho $FOO | ||||
16 | |||||
17 | # Test patterns that come up when the shell quotes funny character | ||||
18 | # combinations | ||||
19 | recho '' | ||||
20 | recho '' | ||||
21 | recho '' |