Executes an operating system command.
(literal or ^string) the command to be executed.
comstr = "ls ./src";
This lists the contents of the ./src subdirectory, then returns to GAUSS.
shell cmp n1.fmt n1.fmt.old;
This compares the matrix file
n1.fmt to an older version of
n1.fmt.old, to see if it has changed.
cmp finishes, control is returned to GAUSS.
This executes an interactive shell. The OS prompt will appear and OS commands
or other programs can be executed. To return to GAUSS, type
shell lets you run shell commands and programs from inside GAUSS. If a
command is specified, it is executed; when it finishes, you
automatically return to GAUSS. If no command is specified, the shell is
executed and control passes to it, so you can issue commands
interactively. You have to type
exit to get back to GAUSS in that case.
If you specify a command in a string variable, precede it with the
(caret) as shown in the examples below.