On 5/24/24 1:43 AM, Oğuz wrote:
While you're at it take a look at this too:
true; for (( ; $? == 0; ${ ! break;} )); do uname; done
The arithmetic for command should probably check for breaking after it
evaluates the loop test. You have to admit this is not something people
are going to write
On 5/23/24 1:19 PM, Oğuz wrote:
See:
$ bash -c 'for (( $(case x in x) esac);; )); do :; done'
bash: -c: line 1: syntax error: `;' unexpected
bash: -c: line 1: syntax error: `(( $(case x in x)
;;
esac);; ))'
Thanks for the report. This should be a pretty easy fix; just use
extract_command
On 5/23/24 9:09 PM, Grisha Levit wrote:
On Thu, May 23, 2024 at 3:55 PM Chet Ramey wrote:
On 5/23/24 7:43 AM, Michael Maurer wrote:
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
Calling a function that itself uses the keyword "time" to call another
function