[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yet another $(case ... parse bug
From: |
Chet Ramey |
Subject: |
Re: yet another $(case ... parse bug |
Date: |
Tue, 28 May 2024 15:53:27 -0400 |
User-agent: |
Mozilla Thunderbird |
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 as a matter of course.
--
``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/