--break (or -b) - allow breakout to a shell prompt on a
SIGINT or
a script error. (e.g. a control-c will give you a shell prompt.) Use
"return"
to continue execution or "logout" to terminate script.
--check (or -c) - check the syntax of a script but do
not
run the
script
--debug (or -d) - enable pragma debug's and
assert's.
Without this, the pragmas have no effect.
--exec (or -e) - the script path is not a path but
a
script to
execute.
--gcc-errors (or -g) - show simple gcc-style error
messages
to be
compatible with smart editors and IDEs. Also disables bold and inverse
printing in error messages.
--help (or -h) - show help on command line options
--import-all (or -n) - declare and import all
environment variables when SparForte starts
--L - specify additional SPAR_LIBRARY_PATH directories (see below)
--login (or -l) - simulate a login shell
--no-check (or -n) - run without checking the syntax
first
--restricted (or -r) - run as a restricted shell.
--trace (or -x) - same as "trace true". Turn on tracing.
--verbose (or -v) - show interpreter progress
--version (or -V) - show version of SparForte and exit
-- - explicitly end of shell options. Use this before specifying
files on the command line that contain a leading "-".
Environment Variables Affecting SparForte
When you run the "spar" command, certain variables affect how SparForte
runs.
PATH - the command search path (always imported)
PWD - the present (current) working directory (always imported)
OLDPWD - the last PWD (always imported)
HOME - the user's home directory (always imported)
TERM - the user's terminal emulation (always imported)
SHELL - the user's shell (always imported)
SPAR_LIBRARY_PATH - the search path for loadable components (always imported)