29
D=$"hello"," "$"world"
31
expect '<hello,> <world>'
34
expect '<hello, world>'
43
expect '<$hello, world>'
44
recho \$"hello, world"
46
expect '<hello, $world>'
47
recho $"hello, \$world"
49
expect '<hello, "world">'
50
recho $"hello, \"world\""
52
expect '<hello, $"world">'
53
recho $"hello"', $"world"'
55
expect '<hello, $"world">'
56
recho $'hello, $"world"'
58
expect '<$hello, chet>'
59
recho \$"hello, $world"
61
expect '<hello, chet>'
62
recho $"hello, $world"
66
$'\v\f\a\b') echo ok;;
70
# Dave Korn says this should be allowed and echo 'abcd'
73
# printf translates \' to ' ...
80
# and what do we do about unrecognized escape sequences?
98
recho $'hello, $"world"'
99
recho $'hello, \$"world"'
100
recho $'hello, $\"world"'
102
recho "hello, $"world""
104
# ansi quoting inside double-quoted command subst - bash-3.1 bug
105
echo $(set -- $'a b'; echo $#)
106
echo "$(set -- $'a b'; echo $#)"
108
echo "$(echo $';foo')"
112
for a in "$@";do echo "'$a'";done
115
recho "${mytab:-$'\t'}"
116
recho "$( args $'A\tB' )"
118
${THIS_SH} ./nquote1.sub
119
${THIS_SH} ./nquote2.sub