We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
[ ]
=
'='
# Assignment var = value # Comparison if $var = value then echo "Match" fi
# Assignment var=value # Comparison if [ "$var" = value ] then echo "Match" fi
ShellCheck found an unquoted = after a word.
If this was supposed to be a comparison, use square brackets: [ "$var" = value ]
[ "$var" = value ]
If this was supposed to be an assignment, remove spaces around =: var=value
var=value
If the = was meant literally, quote it:
grep '=true' file.cfg