| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Sash

This version was saved 16 years ago View current version     Page history
Saved by PBworks
on April 3, 2008 at 10:29:32 pm
 

 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.