[svlug] Running a command n times simutaneously

Joe Buck Joe.Buck at synopsys.COM
Tue Apr 25 13:08:33 PDT 2006


On Tue, Apr 25, 2006 at 11:40:00AM -0700, Seth David Schoen wrote:
> New bash syntax always amazes me.  An older and much more portable
> approach would be
> 
> for i in $(seq 10); do
>   cmd &
> done

Well, seq is not a standard command; you won't generally find it on
a BSD or Solaris box unless you install GNU coreutils.






More information about the svlug mailing list