blob: 9126359250caf994847ad75661fa56ee202a4a8e [file] [log] [blame]
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'}"