[Bug 1857195] Re: here string behaviour different in mksh and ksh93

2019-12-22 Thread Thorsten Glaser
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,

[Bug 1857195] Re: here string behaviour different in mksh and ksh93

2019-12-22 Thread Thorsten Glaser
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

[Bug 1857195] Re: here string behaviour different in mksh and ksh93

2019-12-22 Thread jvdh
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

Re: [Bug 1857195] Re: here string behaviour different in mksh and ksh93

2019-12-22 Thread jvdh
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,