I was trying to make a case statement in bash, and was getting this error:
./check: line 8: syntax error near unexpected token `)'
./check: line 8: ` 1)'
Turns out this is the error you get if you forget the ;; at the end of each code block.
2010-04-15
Syntax error near unexpected token `)'
Posted by bombcar at 08:47
Labels: bash, case statement, error, linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment