bug-bash
[Top][All Lists]
Advanced

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

Re: scripts one after the other


From: shawn wilson
Subject: Re: scripts one after the other
Date: Sat, 26 Mar 2016 06:26:12 -0400


On Mar 25, 2016 9:32 PM, "Val Krem" <valkrem@yahoo.com> wrote:
>

> At the present I have defined the variables and folders path in both scripts.
>
> Instead of this,  is it possible to combine the two scripts in one so that I can define the varietals at one spot.  It would be less prone to error.
>

What I've done is source a config file with my variables defined.

> The problem that I have now is that I want to see the output of job1 script before preceding the next process. I want insert a question if I want to proceed to the next execution. If I say no let the script stop processing otherwise continue to the next command.

I'm not sure what you want, but you could always pipe one script into another and evaluate the input from the later. Or just call the second script from the first in an if.


reply via email to

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