From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SatrR-0006Hj-Ao for garchives@archives.gentoo.org; Sat, 02 Jun 2012 19:19:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DDC6E0534; Sat, 2 Jun 2012 19:19:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 96C52E068E for ; Sat, 2 Jun 2012 19:18:44 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 15A651B4008 for ; Sat, 2 Jun 2012 19:18:44 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash Date: Sat, 2 Jun 2012 15:18:43 -0400 User-Agent: KMail/1.13.7 (Linux/3.4.0; KDE/4.6.5; x86_64; ; ) References: <201206011841.23302.vapier@gentoo.org> <4FC9E241.3060203@googlemail.com> In-Reply-To: <4FC9E241.3060203@googlemail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2949232.Q8bWcTkvQf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201206021518.44052.vapier@gentoo.org> X-Archives-Salt: a6087da9-ea7f-4b13-b3eb-810619398e0e X-Archives-Hash: aa0365d448f3c6a86e3b33d8774aaf9a --nextPart2949232.Q8bWcTkvQf Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Saturday 02 June 2012 05:52:01 David Leverton wrote: > Mike Frysinger wrote: > > exec {mj_control_fd}<>${mj_control_pipe} >=20 > 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 )) >=20 > Any reason not to do just >=20 > (( ++mj_num_jobs )) i prefer the portable form =2Dmike --nextPart2949232.Q8bWcTkvQf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPymcTAAoJEEFjO5/oN/WBUDUP/1ArlEGq4LF+9OfK0zbaJC0O xNPul3IPjm01nzTve32dkcsf1OkNZ+VaRdE7h5DVkrngHqLZcqC9t2q4x06NqKyJ 3UOrYxWQZy41BMVnNkiA2ozOnssP5LCm6ZPRLH862jY4otnKOcy4FbAw80Wp77fB r1Frmf3PC+7dcSsTBPgEkU4hTKHyhOqk9lFuNmG6lAMcRVnvgROM4YYUbriI0lbK lT1oPRtEWu3L7cgeIIqTzXXxBMR5PG+4AepcXjmGZAr+BLB/YMFTZXGklC7bkgT+ Mvqq7GLSOWIe5FMqnTXYbmEOYhA4E4wlM6WiXhkb5RrS0TX6J6DeZ9ljQ7YGdmQs 66eI0FBBHJSDjfzxjdwEjuNBm5HnPjRdDVh8cLbCAF+GHZ72SiH6/4hDTKGbnBTi 2s1pO8fJc95p6fLx77iDpu5giy4YJlQuWmf05zUUZucSRcfzXm/BXuzvUiBDVmNJ WqELr7naXZ2xx6mptx5417UxqVFbpzjdATNLCFtLHGMBwGmzapR0iopSou5oXG1T HG6rI8DmibhCZVfLatVfBrWgoev+B+KgxB7G2cLdQ0s8+k71vxTpvlQAY47VNE27 EQDBwhMybHTSkyw3TSCDORf69zd6n34P80AU6stctRwk2yIPbxJJviV0mmRY3ke5 P9CDUQY5RBlIc3eKFx7u =+eEc -----END PGP SIGNATURE----- --nextPart2949232.Q8bWcTkvQf--