Re: Running multiple processes using trap and kill -s

2005-06-26 Thread Sammo
Here is the script: #!/bin/bash # multiple-processes.sh: Run multiple processes on an SMP box. # Script written by Vernia Damiano. # Used with permission. # Must call script with at least one integer parameter #+ (number of concurrent processes). # All other parameters are passed through to th

Running multiple processes using trap and kill -s

2005-06-26 Thread Sammo
2.05b.0(1)-release I seem to be having problems with one of the examples in the Advanced Bash Scripting Guide [1]. The script is supposed to start a specified number of processes, and when each process finishes, it sends a trap signal, which starts a new process. I think the script is correct, but