From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21450 invoked by alias); 13 Dec 2011 19:20:26 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16639 Received: (qmail 18913 invoked from network); 13 Dec 2011 19:20:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at mail.nih.gov designates 128.231.90.98 as permitted sender) X-IronPortListener: NIH_Relay X-SBRS: None X-IronPort-AV: E=Sophos;i="4.71,343,1320642000"; d="scan'208";a="60513303" X-Authentication-Warning: cosy.cit.nih.gov: arif set sender to Anthony R Fletcher using -f Date: Tue, 13 Dec 2011 14:19:49 -0500 From: Anthony R Fletcher To: =?iso-8859-1?Q?J=E9r=E9mie?= Roquet , Subject: Re: wait for the next process to finish Message-ID: <20111213191949.GA13304@cosy.cit.nih.gov> Mail-Followup-To: =?iso-8859-1?Q?J=E9r=E9mie?= Roquet , zsh-users@zsh.org References: <20111212154601.GA5198@cosy.cit.nih.gov> <20111213173237.GA10838@cosy.cit.nih.gov> <20111213182003.GB24623@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111213182003.GB24623@yahoo.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (cake.cit.nih.gov [165.112.93.31]); Tue, 13 Dec 2011 14:19:49 -0500 (EST) On 13 Dec 2011 at 18:20:03, Stephane Chazelas wrote: > 2011-12-13 19:04:12 +0100, Jérémie Roquet: > [...] > > I'm wondering if you're not just looking for zargs :-) > [...] > > Or GNU parallel or pexec. > I considered GNU parallel but the loop seems do much easier for what I wanted to do. pexec needs to be compiled - too hard for this job. The loop idea was just too easy to use. I didn't know about zargs but I'll play with it. Thanks. Anthony.