.BG
.VE $Header: /usr/s/current/s/.help/RCS/BATCH,v 1.3 85/08/09 14:55:57 rab Exp $
.FN BATCH
.TL
BATCH: Batch (non-interactive) execution of S
.CS
!S BATCH in out  # UNIX command
.PP
.AG in
the name of a file containing S commands to be executed.
The file may contain macro invocations, source and sink commands, etc.
Interactive graphics devices (`tek14', `hp72h', etc.)
produce no output when run in non-interactive mode.
To produce a deferred graphics file during the batch run, use
an interactive device function along with the `defer' function.
.AG out
the name of a file which will receive all of the output from the
run. By default, `out' will contain a listing of each expression
in `in', followed by any printed output produced by the expression.
.SH WARNING
execution begins immediately after `BATCH' is invoked.
Processes running in batch are counted toward the total number
of processes any one user is allowed.
Running several versions of S (either batch or interactive)
at the same time can cause you to exceed the process limit,
and abort all of the runs.
.KW utilities
.KW UNIX
