blob: 9126359250caf994847ad75661fa56ee202a4a8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
f() { for i; do echo "|$i|"; done; }
v=xx
f ${v/'x'/"y z"}
f ${v/"x"/'y z'}
f "${v/'x'/"y z"}"
f "${v/"x"/'y z'}"
f ${v//'x'/"y z"}
f ${v//"x"/'y z'}
f "${v//'x'/"y z"}"
f "${v//"x"/'y z'}"
|