mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-03 16:59:22 +02:00
bash-5.0 distribution sources and documentation
This commit is contained in:
+3
-3
@@ -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' "\\\\\\\\"`/}
|
||||
|
||||
Reference in New Issue
Block a user