Re: Parallelism a la make -j / GNU parallel

2012-05-05 Thread Mike Frysinger
On Saturday 05 May 2012 23:25:26 John Kearney wrote: > Am 05.05.2012 06:28, schrieb Mike Frysinger: > > On Friday 04 May 2012 16:17:02 Chet Ramey wrote: > >> On 5/4/12 2:53 PM, Mike Frysinger wrote: > >>> it might be a little racy (wrt checking cnt >= 10 and then doing a > >>> wait), but this is go

Re: Parallelism a la make -j / GNU parallel

2012-05-05 Thread Mike Frysinger
On Saturday 05 May 2012 04:28:50 John Kearney wrote: > Am 05.05.2012 06:35, schrieb Mike Frysinger: > > On Friday 04 May 2012 15:25:25 John Kearney wrote: > >> Am 04.05.2012 21:13, schrieb Mike Frysinger: > >>> On Friday 04 May 2012 15:02:27 John Kearney wrote: > Am 04.05.2012 20:53, schrieb M

Re: Parallelism a la make -j / GNU parallel

2012-05-05 Thread John Kearney
Am 05.05.2012 06:28, schrieb Mike Frysinger: > On Friday 04 May 2012 16:17:02 Chet Ramey wrote: >> On 5/4/12 2:53 PM, Mike Frysinger wrote: >>> it might be a little racy (wrt checking cnt >= 10 and then doing a wait), >>> but this is good enough for some things. it does lose visibility into >>> wh

Re: Parallelism a la make -j / GNU parallel

2012-05-05 Thread Ben Pfaff
Colin McEwan writes: > I frequently find myself these days writing shell scripts, to run on > multi-core machines, which could easily exploit lots of parallelism (eg. a > batch of a hundred independent simulations). > > The basic parallelism construct of '&' for async execution is highly > expres

Re: Severe Bash Bug with Arrays

2012-05-05 Thread Linda Walsh
Maarten Billemont wrote: This mail has gone slightly off-topic. Hit mark as read if you don't care for that sort of thing. I don't care if you like evil in your sexual play or in your vendettas. When you write code, evil is nothing worth liking. In programming, evil is defined as so

Re: Severe Bash Bug with Arrays

2012-05-05 Thread Maarten Billemont
This mail has gone slightly off-topic. Hit mark as read if you don't care for that sort of thing. On 27 Apr 2012, at 21:02, Linda Walsh wrote: > Greg Wooledge wrote: > >> NEVER use eval plus a brace expansion to generate a list. That's just >> freakin' evil. And unsafe: > > But I _like_ evi

Re: Parallelism a la make -j / GNU parallel

2012-05-05 Thread John Kearney
Am 05.05.2012 06:35, schrieb Mike Frysinger: > On Friday 04 May 2012 15:25:25 John Kearney wrote: >> Am 04.05.2012 21:13, schrieb Mike Frysinger: >>> On Friday 04 May 2012 15:02:27 John Kearney wrote: Am 04.05.2012 20:53, schrieb Mike Frysinger: > On Friday 04 May 2012 13:46:32 Andreas Sch