On Fri, Feb 16, 2024 at 9:02 PM Damien ISSANCHOU <d.issanc...@gmail.com> wrote:
>      When expanding $* within a here-document, bash puts a space between
> each positional parameters while I would expect it to put the first
> character of the IFS variable (if it contains at least one character) as
> per POSIX.1-2017.

FYI, this seems to be the same issue as reported in
https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00002.html

And the devel branch has exactly the fix the you propose:
https://git.savannah.gnu.org/cgit/bash.git/tree/subst.c?h=devel&id=e1dd98a1d#n10513

Reply via email to