diff options
Diffstat (limited to 'tests/comsub2.sub')
| -rw-r--r-- | tests/comsub2.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/comsub2.sub b/tests/comsub2.sub index a2d58ad0..d60ae6a0 100644 --- a/tests/comsub2.sub +++ b/tests/comsub2.sub @@ -3,6 +3,6 @@ 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 "\\\\\\\\"`/} +printf "%s\n" ${qpath//\\/} +printf "%s\n" ${qpath//"`printf '%s' \\`"/} +printf "%s\n" ${qpath//`printf '%s' "\\\\\\\\"`/} |
