batch
Execute commands entered on standard input. End with EOF. Unlike at, which executes commands at a specific time, batch executes commands one after another (waiting for each one to complete). This avoids the potentially high system load caused by running several background jobs at once. See also at.
batch is equivalent to at -q b -m now
.
$batch
sort
in>
outtroff -ms
bigfile>
bigfile.ps EOF