dollar_repl_bash1.tests 192 B

123456789101112
  1. f() { for i; do echo "|$i|"; done; }
  2. v=xx
  3. f ${v/'x'/"y z"}
  4. f ${v/"x"/'y z'}
  5. f "${v/'x'/"y z"}"
  6. f "${v/"x"/'y z'}"
  7. f ${v//'x'/"y z"}
  8. f ${v//"x"/'y z'}
  9. f "${v//'x'/"y z"}"
  10. f "${v//"x"/'y z'}"