mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-19 23:04:03 +01:00
enable support for using `&' in the pattern substitution replacement string
This commit is contained in:
1 parent
70d7c6430d
commit
f188aa6a01
22 files changed
+518
-209
No files matched your search
+6
-1
@@ -52,6 +52,11 @@ for (( i = 0 ; i < ${#E[@]} ; i++ )); do
|
||||
echo "${E[${i}]}"
|
||||
done
|
||||
|
||||
${THIS_SH} ./mapfile1.sub
|
||||
unset -v s array
|
||||
s=$'a\xffb\xffc\xff'
|
||||
mapfile -t -d $'\xff' array <<<"$s"
|
||||
declare -p array
|
||||
unset -v s array
|
||||
|
||||
${THIS_SH} ./mapfile1.sub
|
||||
${THIS_SH} ./mapfile2.sub
|
||||
Reference in new issue
Block a user