We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
((..))
variable=1 if ((variable)); then echo variable is not zero fi
bash supports standalone ((..)) natively.
bash
For POSIX compliance, use
variable=1 if [ "${variable}" != 0 ]; then echo variable is not zero fi
There was an error while loading. Please reload this page.