On 10/18/15, Chet Ramey wrote:
> (BTW, your patch does not result in a valid declare command with a
> correct compound assignment.)
>
Yes I'm sorry, I noticed it after sending the message...
---
xoxo iza
On 10/16/15 8:55 PM, isabella parakiss wrote:
> ${array[@]@A} splits the values.
>
> $ a=("ab" "c d"); printf "<%s>" "${a[@]@A}"
> <-a><[1]="c>
Thanks for the report. This will be fixed in the next bash release.
(BTW, your patch does not result in a valid declare command with a
correct com
${array[@]@A} splits the values.
$ a=("ab" "c d"); printf "<%s>" "${a[@]@A}"
<-a><[1]="c>
diff --git a/subst.c b/subst.c
index 2a7366f..d7258b8 100644
--- a/subst.c
+++ b/subst.c
@@ -4796,18 +4796,26 @@ array_var_assignment (v, itype, quoted)
{
char *ret, *val, flags[MAX_ATTRIBUTES];