next up previous
Next: Command and Process Substitution Up: Shells Previous: Running Commands in the

Subprocesses

Subprocesses execute a series of commands within a subshell. It's particularly useful when you want to group a bunch of commands into a mini script. For instance:

eg1$ (set -x; for f in data/*; do processit $f >$f.log; done) 2>errors



Reece Kimball Hart
1998-03-18