Pattern: Use of undefined ((..))
Issue: -
In POSIX sh, standalone ((..))
is undefined.
Example of incorrect code:
variable=1
if ((variable)); then
echo variable is not zero
fi
Example of correct code:
variable=1
if [ "${variable}" -ne 0 ]; then
echo variable is not zero
fi