Specifications

sh Command
>>sh [OPTIONS][#/scriptname][argument...]
OPTIONS -e Exit on error
-b Branch to script
-v Verbose; echo to console
-S Suppress script-not-found errors
-l Loop
The sh, or shell, command activates a script. Replace # with
the slot number of the module that contains the script.
If you specify a script name for scriptname, the script is used as
the input stream. Otherwise, entries at the console are used as
the input stream, and a subshell is created. When a shell script
is activated, environment variable 0 is set to the script name,
1 is set to the first argument, 2 is set to the second argument,
and so on.
The -e option directs the shell to exit when an error occurs.
Normally, the shell ignores errors.
The -b option executes the script specified by scriptname instead
of creating a subshell.
The -v option causes the script to be echoed to the console when
it is executed. The default is no echo.
The -S option suppresses any error message if the script is
not found and causes the sh command to return a status that
indicates success.
The -1 option causes a script to be executed continuously until
a system reset occurs or Ctrl-c is pressed.
10–16 Using the Console Program