From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3828 invoked by alias); 13 Dec 2011 07:39:40 -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: 16625 Received: (qmail 18643 invoked from network); 13 Dec 2011 07:39:36 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at theory.phy.tu-dresden.de does not designate permitted sender hosts) From: Martin Richter Reply-To: mrichter@theory.phy.tu-dresden.de Organization: TU Dresden To: zsh-users@zsh.org Subject: Re: wait for the next process to finish Date: Tue, 13 Dec 2011 08:15:20 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32-36-generic; KDE/4.4.5; x86_64; ; ) References: <20111212154601.GA5198@cosy.cit.nih.gov> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201112130815.21779.mrichter@theory.phy.tu-dresden.de> X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de On Monday December 12 2011, Wayne Davison wrote: > On Mon, Dec 12, 2011 at 7:46 AM, Anthony R Fletcher wrote: > > > How can I wait for just the next job to finish? This is probably not exactly what you want and it isn't pretty either. But you could use `make' for this and use the -j flag for telling it to process stuff in parallel: #--------------------------- make -j 4 -f =( cat <