summaryrefslogtreecommitdiff
path: root/tests/exp1.sub
blob: 3e40f2a9d0b6a918beec1f581b579454a7b0dc36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Test the substitution quoting characters (CTLESC and CTLNUL) in different
# combinations

recho `echo ''`
recho `echo ""`
recho `echo `

# Test the unquoted special quoting characters
recho 
recho ""
recho ''

# This should give argv[1] = ^A argv[2] = ^?
FOO=`echo ' ' | tr ' ' '\012'`
recho $FOO

# Test patterns that come up when the shell quotes funny character
# combinations
recho ''
recho ''
recho ''