Re: fltexpr LAND && LOR || broken
Chet Ramey <[email protected]>
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 2/25/26 6:46 AM, newsbash--- via Bug reports for the GNU Bourne Again SHell wrote: > > fltexpr is great! Speeds up scripts enormously! Trying to use it > everywhere possible. > > Using bash 5.3.9(1) I am now running into a problem that fltexpr does > not recognize logical AND (LAND &&) and OR (LOR ||). Example: > if fltexpr "((2 > 1) && (6 > 5))"; then echo 'ok';fi > I get an error message: 'Error token is &&' Thanks for the report. This was fixed in the bash devel branch back in November. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/