> Date: Mon, 5 Jul 2021 14:41:46 +0200 > From: Alexander Hall <alexan...@beard.se>
> 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íġ <u5644...@anu.edu.au> To: m...@openbsd.org Message-ID: <20210628222042.555de...@u5644051.anu.edu.au> you cant interrupt sh in while do done not that it matters. you complained that this would break your scripts. > 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.