bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support ksh93 x=${<space>cmd;}


From: Chet Ramey
Subject: Re: Support ksh93 x=${<space>cmd;}
Date: Wed, 9 Apr 2025 09:40:24 -0400
User-agent: Mozilla Thunderbird

On 4/9/25 9:31 AM, Dan Shelton wrote:
On Wed, 9 Apr 2025 at 15:16, Chet Ramey <chet.ramey@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

Why not read the documentation describing it first?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]