Answers for "escape quotes bash string"

4

shell strip quotes

temp="${opt%\"}"
temp="${temp#\"}"
echo "$temp"
Posted by: Guest on April-11-2021
0

escape characters in bash

use "\" to use the literal value of the next character (except newline)
Posted by: Guest on April-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language