You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In test.sh line 9:
[ "$v1" $gt "$v2" ] || echo no
^-- SC1073 (error): Couldn't parse this test expression. Fix to allow more checks.
^-- SC1072 (error): Expected test to end here (don't wrap commands in []/[[]]). Fix any mentioned problems and try again.
Here's what I wanted or expected to see:
shellcheck to be able to handle the test where test is a var.
The text was updated successfully, but these errors were encountered:
For bugs
For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
In test.sh line 9:
[ "$v1" $gt "$v2" ] || echo no
^-- SC1073 (error): Couldn't parse this test expression. Fix to allow more checks.
^-- SC1072 (error): Expected test to end here (don't wrap commands in []/[[]]). Fix any mentioned problems and try again.
Here's what I wanted or expected to see:
shellcheck to be able to handle the test where test is a var.
The text was updated successfully, but these errors were encountered: