Skip to main content
4 events
when toggle format what by license comment
Mar 31, 2012 at 20:30 comment added jw013 Just to explain my fixes to the code: (1) As a matter of style, avoid all uppercase variable names as they potentially conflict with internal shell variables. (2) Added quoting for $f etc. (3) Use [ for POSIX compatible scripts, but for pure bash [[ is always preferred. In this case, (( is more appropriate for the arithmetic.
Mar 31, 2012 at 20:25 history edited jw013 CC BY-SA 3.0
Made the code more idiomatic bash.
Mar 31, 2012 at 19:59 comment added Nils This will wait for the last of the four concurrent processes and will then start a set of another four. Perhaps one should build an array of four PIDs and then wait for these specific PIDs?
Mar 31, 2012 at 5:42 history answered Frederik Deweerdt CC BY-SA 3.0