It is something related to bash in fact. See QUOTUNG section in the manual:
Enclosing characters in single quotes preserves the literal value of each character within the quotes. A single quote may not occur between single quotes, even when preceded by a backslash.
In reply to Re: syntax error near unexpected token `)'
by zwon
in thread syntax error near unexpected token `)'
by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |