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
1 On Saturday 02 June 2012 05:52:01 David Leverton wrote:
2 > Mike Frysinger wrote:
3 > > exec {mj_control_fd}<>${mj_control_pipe}
4 >
5 > I'll have to remember that feature, but unfortunately it's new in bash
6 > 4.1, so unless we're giving up 3.2 as the minimum for the tree....
7
8 lame
9
10 > > : $(( ++mj_num_jobs ))
11 >
12 > Any reason not to do just
13 >
14 > (( ++mj_num_jobs ))
15
16 i prefer the portable form
17 -mike

Attachments

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