franco@iuvax.UUCP (05/13/86)
This is, I believe, the last file missing from the earlier versions of
the STarter Kit that I will have to post for people needing it. It is the
documentation for the CLI accessory. It is rather short so I hope no one
thinks this is a serious abuse of the net.
------------------------cut here---------------------------
A very simple command line interface for the Atari 520ST TOS.
Syntax is a VERY small subset of the Bourne shell supplied with
the Unix operating system. Specifically:
Each command is a seperate line.
Each command consists of several words separated by white space.
The first word is the command name.
If a word matches "name=value" for some name and value, it is
variable assignment and not considered part of the command
line.
A dollar sign followed by a variable name is replaced by the
value of the variable.
Single quotes protect characters from all interpretation.
Double quotes protect characters from all interpretation EXCEPT
for variable replacement.
'*' and '?' wild card characters are supported, but only in the
"leaf" part of the filename.
Input and output redirection is supported to and from disk files.
The only variables with special meaning are:
PATH command search path
SUFFIXES supported command types
The elements in the PATH and SUFFIXES list are separated
by commas.
The only built-in commands are:
. temporarily read commands from file
cd change directory
echo print arguments on screen
meminfo print some memory usage info; mainly for debugging
pwd print name of current directory
set list defined variables
-v print lines as they are read
-x print lines as they are executed
version print CLI and GEMDOS versions
Control-D exits from the program.
Dave Clemans, 2/86