Re: fltexpr LAND && LOR || broken

Greg Wooledge <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
On Wed, Feb 25, 2026 at 13:11:28 +0100, Andreas Schwab wrote:
> On Feb 25 2026, newsbash--- via Bug reports for the GNU Bourne Again SHell wrote:
> 
> > Looking at the source code of fltexpr.c, the functions expland ('&&') and explor ('||')
> > should support my expression. 
> 
> But readtok does not know about them.

You can also chain multiple fltexpr commands together, just like you
chain multiple test commands together in POSIX sh.

    if fltexpr '6 > 5' && fltexpr '2 < 3'; then ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.