On July 5, 2021 3:12:07 PM GMT+02:00, "Reuben ua Bríġ" <[email protected]>
wrote:
>> Date: Mon, 5 Jul 2021 14:41:46 +0200
>> From: Alexander Hall <[email protected]>
>
>> I don't really see what you win either.
>
>the point of todds diff is to fix the issue i raised:
>
> Subject: while do done
> Date: Mon, 28 Jun 2021 22:20:15 +1000
> From: Reuben ua Bríġ <[email protected]>
> To: [email protected]
> Message-ID: <[email protected]>
>
> you cant interrupt sh in
>
> while do done
>
> not that it matters.
>
>you complained that this would break your scripts.
I want really complaining, just pointing it out. But yeah, I forgot the
non-interruptability issue.
/Alexander
>
>> Apart from inconsistency. ;-)
>
>todd suggested dealing with your complaint by:
>
> accepting: while :; do done
> rejecting: while do :; done
>
>i felt it would be more self-consistent to:
>
> accept: while :; do done
> accept: while do :; done
> reject: while do done
>
>if your complaint is to be worked around.
>
>it would be even more consistent to treat any empty command list as
>a list containing only the colon command
>
> :
>
>all throughout the shell, but this is not something i am willing to do
>the work for, just to make
>
> while do done
>
>behave nicely.