Besides that issue, a name change would only confuse users further. I still see confusion about ksh88, ksh93, pdksh and and customized versions of ksh such as the one in Solaris
> Date: Fri, 23 Jul 2010 18:01:42 -0400 > From: [email protected] > To: [email protected] > Subject: Re: [ast-users] suggestion: parallel sh > > Subject: Re: [ast-users] suggestion: parallel sh > -------- > > > Hi, > > > > http://minilien.org/t48k > > > > the principle is interresting : > > > > set -j 4 > > > > however, I prefer to just limit the // executions using the usual & > > > > for i in 3 5 11 21 8 9 13 7; do > > echo sleep $i > > ( sleep $i > > echo $i finished ) & > > done > > > > than any new keywords like : > > > > pfor i in 3 5 11 21 8 9 13 7; do > > echo sleep $i > > sleep $i > > echo $i finished > > done > > > > I suppose that the expected result is : > > sleep 3 > > sleep 5 > > sleep 11 > > sleep 21 > > 3 finished > > sleep 8 > > 5 finished > > sleep 9 > > 11 finished > > sleep 13 > > 8 finished > > sleep 7 > > 9 finished > > 7 finished > > 21 finished > > 13 finished > > > > possible usage : > > > > set -j # > > > > where # is the maximum number of // jobs > > 0 : infinite (default) > > -1 : auto-configure to the number of cpu > > > > ksh93 uses the variable JOBMAX to control the maximum number > of background processes. If more than JOBMAX is invoked, > then ksh93t waits for one to complete. > > ksh93u will be introducing named background pools and jobs > in background pools can execute on other systems. > > The syntax > & poolname > defines and sets the current background pool. Each background > job will be placed in this pool until another > & pool > is given. > > You can invoked kill,wait and other job related commands on a pool. > > There will be more about this as ksh93u progresses. > > > David Korn > [email protected] > _______________________________________________ > ast-users mailing list > [email protected] > https://mailman.research.att.com/mailman/listinfo/ast-users
_______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
