On 4/9/25 9:31 AM, Dan Shelton wrote:
On Wed, 9 Apr 2025 at 15:16, Chet Ramey wrote:
On 4/9/25 2:09 AM, Cedric Blancher wrote:
Good morning!
Could bash please support x=${cmd;} alongside x=$(cmd)?
I implemented it back in 2023 and it will be in bash-5.3.
There was quite a long discussion
Besides, HP-UX sh is ksh88 :-) no risk anyone port anything from there.
On 4/9/25 9:46 AM, Dan Shelton wrote:
What is not great is the cmd | x=${|cmd;} extension in HP/UX which
randomly hung or crashed /bin/sh in a way to make the tty locked and
unuseable.
Sure, I get that. I wager that there are comparatively few people who
will assume this is an implementation o
i dunno what lithist is , but remaining data one to one is a big bug thats
gotta be fixed
its like u write foo "$1" "$2" and it sends foo $1 $2
.. if data , in case heredoc content , which is highly underrated and
underused , is not remained .. its nothing else than a big broken cmd
plz fixx
greets
Yes, this is how I am doing it currently, but remember that once you
cut that subshell loose, you cannot easily get a response from it and
certainly can't pass variables back... and you are more or less forced
to wait for a sensible timeout, even tho the actual connection might
take a much short
On Wed, 9 Apr 2025 at 15:40, Chet Ramey wrote:
>
> On 4/9/25 9:31 AM, Dan Shelton wrote:
> > On Wed, 9 Apr 2025 at 15:16, Chet Ramey wrote:
> >>
> >> On 4/9/25 2:09 AM, Cedric Blancher wrote:
> >>> Good morning!
> >>>
> >>> Could bash please support x=${cmd;} alongside x=$(cmd)?
> >>
> >> I imple
On Wed, 9 Apr 2025 at 15:16, Chet Ramey wrote:
>
> On 4/9/25 2:09 AM, Cedric Blancher wrote:
> > Good morning!
> >
> > Could bash please support x=${cmd;} alongside x=$(cmd)?
>
> I implemented it back in 2023 and it will be in bash-5.3.
Thank you.
I like the x=${ cmd;} feature :)
Dan
--
Dan Sh
On Wed, 9 Apr 2025 at 15:16, Chet Ramey wrote:
>
> On 4/9/25 2:09 AM, Cedric Blancher wrote:
> > Good morning!
> >
> > Could bash please support x=${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://l
On 4/9/25 2:09 AM, Cedric Blancher wrote:
Good morning!
Could bash please support x=${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
--
``The ly