When you're running a series of commands that could swamp the computer,
give it time to catch up.
For instance, the
mail (1.33)
program starts background processes to
deliver the mail.
If you're sending a bunch of form letters, sleep five or ten seconds
after each one:
foreach
|
% foreach name (`cat people`)
? formltrprog $name | mail $name
? sleep 10
? end |
|---|
Or, to send print jobs while you're at lunch - but give other people a
chance to print between yours:
% lp bigfile1;sleep 600;lp bigfile2;sleep 600;lp bigfile3