Syntax errors occur while gsh is trying to understand the command you have entered on the command-line. Problems arise when you wish to quote an argument (") and only enter one quote.
A second " wasn't supplied when quoting text.
A second ' wasn't supplied when quoting text.
The command-line contained too many arguments which exceeded the available memory allocated by gsh.
No memory was available for allocating command-line arguments.
Text may be redirected to only one file.
A file must be specified when redirecting I/O.
Piping is another form of redirection, thus pipes and redirections cannot be mixed.