dollar_repl_bash2.tests 198 B

12345678
  1. v="x/x"
  2. # The second / is quoted, should not be treated as separator
  3. echo a${v/'/'}b
  4. # The second / is escaped, should not be treated as separator
  5. echo a${v/\/}b
  6. echo "a${v/'/'}b"
  7. echo "a${v/\/}b"