IS there a label in ksh / bash for re-startability? Can you add this functionality?

2007-10-04 Thread Rajeswar N
Hi PAL, I am faced with a problem of running a huge list of steps through ksh / bash. IF for some reason task "n" fails, I am not able to re-start the script from the nth step. IS there a lable available in ksh? IF the same script is invoked with a argument as a label, it should be able

Re: IS there a label in ksh / bash for re-startability? Can you add this functionality?

2007-10-04 Thread Bob Proulx
Rajeswar N wrote: > IF for some reason task "n" fails, I am not able to re-start the script > from the nth step. The shell is a programming language. It will do exactly what you program it to do. It will do nothing more and nothing less. > IS there a lable available in ksh? There are no labels

Re: IS there a label in ksh / bash for re-startability? Can you add this functionality?

2007-10-04 Thread Stephane Chazelas
On Thu, Oct 04, 2007 at 11:33:17AM -0400, Rajeswar N wrote: >Hi PAL, > > I am faced with a problem of running a huge list of steps through ksh / > bash. > > IF for some reason task "n" fails, I am not able to re-start the script > from the nth step. > > IS there a lable available in ksh?

Re: Any plans to integrate an XML parser

2007-10-04 Thread Dan Stromberg
On Tue, 02 Oct 2007 16:31:21 -0400, Nicholas Sushkin wrote: > Hi Chet, others, > > In our bash scripts, we often access XML files. Are there any plans to > integrate an XML parser in bash? For example, merge into the main tree the > following bash patch? > > http://home.eol.ca/~parkw/index.html#

set -o pipefail inherited?

2007-10-04 Thread Dan Stromberg
Is there a way of getting "set -o pipefail" to be inherited from a shell to its subshell? Or does each subshell have to set it again?