bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fltexpr LAND && LOR || broken


From: newsbash
Subject: fltexpr LAND && LOR || broken
Date: Wed, 25 Feb 2026 12:46:27 +0100

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 &&' 

Looking at the source code of fltexpr.c, the functions expland ('&&') and 
explor ('||')
should support my expression. 

Any patch/insight appreciated,
Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]