Sash v3.7-mg
Stand-alone shell (sash) is a Unix shell used for booting up the MG-35/45, and as the default command interpreter.
[toc goes here]
Boot (init)
Sash first runs as the boot manager (init), checking for (and executing if found):
- ${HOME}/.aliasrc (${HOME} defaults to '/' in kernel)
- /etc/sashrc
After it finishes running sashrc, it displays a command prompt on the console (serial port in developer kernel).
Subshell (sh, sash)
Whenever sash starts as a subshell, it checks for (and executes if found):
- ${HOME}/.aliasrc (${HOME} defaults to '/usr/home' in /etc/sashrc)
Shell language
The sash shell has been extended to include support for:
- ${VARNAME} environment variable expansion
- if [ <condition> ]
then
some command
elif [ <condition> ]
some other command
else
a third command
fi
- while [ <condition> ]
do
some command
some other command
done
Shell commands
Comments (0)
You don't have permission to comment on this page.