Almost a good point, considering…
$ x=(a 'b c')
$ IFS=,
$ a="${x[*]}"; print -r -- "<$a>"
$ a="${x[@]}"; print -r -- "<$a>"
$ a=${x[*]}; print -r -- "<$a>"
$ a=${x[@]}; print -r -- "<$a>"
$ a="${u:-"${x[*]}"}"; print -r -- "<$a>"
$ a="${u:-"${x[@]}"}"; print -r -- "<$a>"
Oh the other hand,
Args, hit Return too early.
- contact me in IRC or so if you’re up for SMTP debugging
-
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_02
for the POSuX reference
--
You received this bug notification because you are a member of mksh
Mailing List, which is
one unrelated question: how can I reach (or subscribe to) the mksh
mailing list? my attempts to write mail to the list were unsuccessful
(mails rejected by your server).
--
You received this bug notification because you are a member of mksh
Mailing List, which is subscribed to mksh.
Matching
On 22.12.19 01:05, Thorsten Glaser wrote:
> Not a definite decision, but consider this:
thanks for the quick reply!
>
> print -r -- "${x[@]}"
>
> - vs. -
>
> a="${x[@]}"
>
> In the first code, the elements of array x are expanded in list context,
> that is, each element as separate word,