>=
is not a valid operator. Use ! a < b
instead.[[ a <= b ]]
[[ ! a > b ]]
The operators <=
and >=
are not
supported by Bourne shells. Instead of "less than or equal", rewrite as
"not greater than".
None
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.