Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt expansion, multi-job for
- X-seq: zsh-users 2843
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: Kevin Sullivan <kevins@xxxxxxxxxxxx>
- Subject: Re: Prompt expansion, multi-job for
- Date: Thu, 06 Jan 2000 17:47:51 +0000
- Cc: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000106194432.A488@xxxxxxxxxxxxxxxxx> <3874847D.A2ED4AE3@xxxxxxxxxxxxx> <20000106151942.A18295@xxxxxxxxxxxxxxxxx> <3874B2DD.A80FBAFC@xxxxxxxxxxxxx> <14452.47479.5744.410474@xxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author