bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stephane Chazelas
Subject: Re: IS there a label in ksh / bash for re-startability? Can you add this functionality?
Date: Thu, 4 Oct 2007 20:15:35 +0100
User-agent: Mutt/1.5.16 (2007-06-11)

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?
>  
> IF the same script is invoked with a argument as a label,  it should be
> able to continue from there.
>  
> Please include this as one of the requirement.
>  
> OF course goto / go to some label.
[...]

tail -n +100 my-script | bash

starts my-script from line 100.

-- 
Stéphane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]