dollar_repl_slash_bash2.tests 43 B

12
  1. var="/a/bc/def/file"
  2. echo "${var//\//\\/}"