Guest User

Shellcheck

a guest
May 14th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. $ shellcheck test.sh
  2.  
  3. In test.sh line 6:
  4. if ["$a" -gt "$b"]
  5. ^-- SC1009: The mentioned syntax error was in this if expression.
  6. ^-- SC1035: You need a space after the [ and before the ].
  7. ^-- SC1073: Couldn't parse this test expression. Fix to allow more checks.
  8. ^-- SC1020: You need a space before the ].
  9. ^-- SC1072: Missing space before ]. Fix any mentioned problems and try again.
Advertisement
Add Comment
Please, Sign In to add comment