help-bash
[Top][All Lists]
Advanced

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

Re: confusing syntax error using <= within [[ ]]


From: Stan Marsh
Subject: Re: confusing syntax error using <= within [[ ]]
Date: Tue, 07 Oct 2025 12:32:11 -0600

How about:

    if (( ${#a} * (c <= d) + ${#b} * (c == d) )); then echo ok; else echo no; fi

=================================================================================
Please do not send me replies to my posts on the list.
I always read the replies via the web archive, so CC'ing to me is unnecessary.

When responding to my posts, please try to refrain from giving bureaucratic 
answers.
If you have nothing useful to say, then just click Next and go on.



reply via email to

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