B.3. Syntax Errors

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.

gsh: Missing ending ".

A second " wasn't supplied when quoting text.

gsh: Missing ending '.

A second ' wasn't supplied when quoting text.

gsh: Too many arguments, so no dessert tonight.

The command-line contained too many arguments which exceeded the available memory allocated by gsh.

gsh: Not enough memory for arguments.

No memory was available for allocating command-line arguments.

gsh: Extra '<' encountered., gsh: Extra '>' or '>>' encountered., gsh: Extra '>&' or '>>&' encountered

Text may be redirected to only one file.

gsh: No file specified for '<'., gsh: No file specified for '>' or '>>'., gsh: No file specified for '>&' or '>>&'.

A file must be specified when redirecting I/O.

gsh: '|' conflicts with '>' or '>>'., gsh: '|' conflicts with '<'.

Piping is another form of redirection, thus pipes and redirections cannot be mixed.