Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash
Date: Sat, 02 Jun 2012 19:19:41
Message-Id: 201206021518.44052.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash by David Leverton
On Saturday 02 June 2012 05:52:01 David Leverton wrote:
> Mike Frysinger wrote: > > exec {mj_control_fd}<>${mj_control_pipe} > > I'll have to remember that feature, but unfortunately it's new in bash > 4.1, so unless we're giving up 3.2 as the minimum for the tree....
lame
> > : $(( ++mj_num_jobs )) > > Any reason not to do just > > (( ++mj_num_jobs ))
i prefer the portable form -mike

Attachments

File name MIME type
signature.asc application/pgp-signature