[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scripts one after the other
From: |
Val Krem |
Subject: |
Re: scripts one after the other |
Date: |
Sat, 26 Mar 2016 13:26:17 +0000 (UTC) |
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.
It is not the question of PIPE one script to the other. I want to pause the
script and see the result then decide to continue or not.
On Saturday, March 26, 2016 5:26 AM, shawn wilson <ag4ve.us@gmail.com> wrote:
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.