[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Behaviour of an empty conditional expression is undefined?
From: |
Chet Ramey |
Subject: |
Re: Behaviour of an empty conditional expression is undefined? |
Date: |
Fri, 24 Feb 2023 09:08:13 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 2/24/23 4:13 AM, Qingsheng Huang wrote:
I find that conditional expressions like ``[[ 3+3 ]]'' sometimes triger the bug,
though I cannot repeat it. I hope it also get fixed in the previous version.
I can't reproduce it, either. An operand like `3+3' is just a string, and
will return a 0 status because it's non-empty.
--
``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/