]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/comsub2.sub
bash-5.0 distribution sources and documentation
[thirdparty/bash.git] / tests / comsub2.sub
1 qpath='\/tmp\/foo\/bar'
2
3 echo "$qpath"
4
5 # it's crazy that all three of these produce the same result
6 printf "%s\n" ${qpath//\\/}
7 printf "%s\n" ${qpath//"`printf '%s' \\`"/}
8 printf "%s\n" ${qpath//`printf '%s' "\\\\\\\\"`/}