We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var=$(cmd)
var=grep -c pattern file
var=$(grep -c pattern file)
To assign the output of a command to a variable, use $(command substitution). Just typing a command after the = sign does not work.
$(command substitution)
=
None.
This warning triggers generally for var=value -flag and var=value *glob*. See related warning SC2209 which matches var=commonCommand.
var=value -flag
var=value *glob*
var=commonCommand
There was an error while loading. Please reload this page.