From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16593 invoked from network); 6 Jan 2000 17:48:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jan 2000 17:48:13 -0000 Received: (qmail 14394 invoked by alias); 6 Jan 2000 17:47:56 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2843 Received: (qmail 14387 invoked from network); 6 Jan 2000 17:47:55 -0000 Message-ID: <3874D547.A61B6E3D@u.genie.co.uk> Date: Thu, 06 Jan 2000 17:47:51 +0000 From: Oliver Kiddle X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Kevin Sullivan CC: zsh-users@sunsite.auc.dk Subject: Re: Prompt expansion, multi-job for References: <20000106194432.A488@bozar.ihug.com.au> <3874847D.A2ED4AE3@u.genie.co.uk> <20000106151942.A18295@picard.franken.de> <3874B2DD.A80FBAFC@u.genie.co.uk> <14452.47479.5744.410474@gargle.gargle.HOWL> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kevin Sullivan wrote: > I use 8hz-mp3 instead of l3enc and I use 'wait'. It is > granted simplistic. But then again took about 1 min to think up and 2 > min to write. I added a bunch of worthless printing but this has > worked well for some 20Gig of mp3(s) and growing... The trouble with wait is that it will wait for all the jobs to finish - there is no way to get it to wait for the first job to finish so you are setting 4 jobs off, waiting for them all to finish and doing the next 4 instead of doing the next each time a job finishes. Your solution is certainly nice and simple but it won't utilise multiple processors as well. If all the jobs are going to take roughly similar time then this makes less of a difference. Oliver