]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/exp1.sub
Bash-4.4 patch 19
[thirdparty/bash.git] / tests / exp1.sub
CommitLineData
3185942a
JA
1# Test the substitution quoting characters (CTLESC and CTLNUL) in different
2# combinations
3
4recho `echo '\7f'`
5recho `echo "\7f"`
6recho `echo \7f`
7
8# Test the unquoted special quoting characters
9recho \7f
10recho "\7f"
11recho '\7f'
12
13# This should give argv[1] = ^A argv[2] = ^?
14FOO=`echo '\ 1 \7f' | tr ' ' '\012'`
15recho $FOO
16
17# Test patterns that come up when the shell quotes funny character
18# combinations
19recho '\ 1\7f'
20recho '\ 1\7f\ 1\7f'
21recho '\ 1\ 1\7f'