SyntaxFix
Write A Post
Hire A Developer
Questions
My version using variables in a bash script:
Find any backslashes and replace with forward slashes:
input="This has a backslash \\" output=$(echo "$input" | sed 's,\\,/,g') echo "$output"