[bash] Bash scripting missing ']'