On Wed, 9 Apr 2025 at 15:16, Chet Ramey <chet.ra...@case.edu> wrote: > > On 4/9/25 2:09 AM, Cedric Blancher wrote: > > Good morning! > > > > Could bash please support x=${<space>cmd;} alongside x=$(cmd)? > > I implemented it back in 2023 and it will be in bash-5.3. > > There was quite a long discussion about it: > > https://lists.gnu.org/archive/html/bug-bash/2023-05/msg00042.html
I don't like the x=${| ,,,} form. HP/UX had a crazy /bin/sh extension for some time to read pipe input for the "..." cmd, but it was so buggy that it was infamous with support staff. Docs should clarify that this is NOT the HP/UX madness Dan -- Dan Shelton - Cluster Specialist Win/Lin/Bsd