Files
bash/tests/comsub2.sub
T
2016-12-05 09:45:14 -05:00

9 lines
209 B
Plaintext

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