-- The Shell SH -- -- Handling Shell Variables --
S - The SH Command D - SHDEFINE
C - SH Concept V - SHVAR
P - Potential Probs
-- SH Variable File --
F - SHFILE
:S
Command: SH 1.0
Syntax:
SH
Function:
S� i� � Name� Variabl� Shel� fo� ZCPR3� I� prompt� th� �
use� fo� � comman� line�� perform� a� interpretatio� o� th� �
comman� line� an� eithe� execute� th� comman� lin� itsel� o� �
passes the line on to the ZCPR3 Command Processor.
which is finally executed by being passed to ZCPR3.
SH Commands
There are three SH-resident commands:
SHCMT - switch SH to run in comment mode; in
comment mode, all lines which
do not begin with the character
! are treated as comments and
flushed
SHECHO - with Echo enabled, all expanded command
lines are printed to the user to
show him what the line looked like
after expansion
SHEXIT - SH is popped from the Shell Stack,
enabling the next lower Shell for
execution
Th� SHEXI� comman� cause� th� Shel� Stac� t� b� poppe� �
on� level�� whic� i� tur� cause� th� SȠ Shel� t� b� �
terminated since it was on the top of the stack.
Bot� SHECH� an� SHEXI� ca� b� execute� fro� S� Commen� �
mode by prefixing these commands with an exclamation mark.
Th� �� comman� (� lin� beginnin� wit� � quesito� mark� �
invoke� th� built-i� hel� facilit� o� SH�� whic� simpl� �
reminds the user of what the built-in commands are for SH.
SHDEFINŠ an� SHVA� defin� variable� t� b� place� int� �
Shel� Variabl� Files�� SHFIL� define� whic� Shel� Variabl� �
File will be used by SH when it executes.
which is finally executed by being passed to ZCPR3.
Shel� Variabl� File� ar� locate� i� th� ROO� director� �
for the commands SH and SHVAR.
Th� use� mus� b� � Whee� i� orde� t� edi� Shel� �
Variabl� Files�� Th� command� SHDEFIN� an� SHVA� wil� onl� �
run if the user is a Wheel.
There are three SH-resident commands:
SHCMT - switch SH to run in comment mode; in
comment mode, all lines which
do not begin with the character
! are treated as comments and
flushed
SHECHO - with Echo enabled, all expanded command
lines are printed to the user to
show him what the line looked like
after expansion
SHEXIT - SH is popped from the Shell Stack,
enabling the next lower Shell for
execution
Th� SHEXI� comman� cause� th� Shel� Stac� t� b� poppe� �
on� level�� whic� i� tur� cause� th� SȠ Shel� t� b� �
terminated since it was on the top of the stack.
Bot� SHECH� an� SHEXI� ca� b� execute� fro� S� Commen� �
mode by prefixing these commands with an exclamation mark.
Th� �� comman� (� lin� beginnin� wit� � quesito� mark� �
invoke� th� built-i� hel� facilit� o� SH�� whic� simpl� �
reminds the user of what the built-in commands are for SH.