summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-quoting/dollar_repl_bash2.tests
blob: 45c7a10e2d3b4985c69774debfb5aada2b6787b1 (plain)
1
2
3
4
5
6
7
8
v="x/x"
# The second / is quoted, should not be treated as separator
echo a${v/'/'}b
# The second / is escaped, should not be treated as separator
echo a${v/\/}b

echo "a${v/'/'}b"
echo "a${v/\/}b"