i-bash/tests/comsub2.sub
2016-09-15 16:59:08 -04:00

8 lines
182 B
Text

qpath='\/tmp\/foo\/bar'
echo "$qpath"
# it's crazy that all three of these produce the same result
echo ${qpath//\\/}
echo ${qpath//"`echo \\`"/}
echo ${qpath//`echo "\\\\\\\\"`/}