TABLE OF CONTENTS
::pwtk::SH
USAGE
Either: SH { ...script... } Or: SH profile { ...script...}
DESCRIPTION
The master command for the SH dummy emulation of a batch queuing (SH stands for shell, e.g. #!/bin/sh). The above "profile" is a user defined profile for SH. If "profile" is omitted, the "default" profile is used, which is guaranteed to exist because it is defined in the file: $PWTK/config/sh.tcl. Here is an example of how to define the default profile in the config/sh.tcl file:
profile default { #!/bin/sh }
The final effect of the SH command is that the script encapsulated inside the SH { ... } command is submitted to "SH" via the "exec sh".