On Sat, Mar 26, 2016 at 9:26 AM, Val Krem <valk...@yahoo.com> wrote: > > 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. >
(untested) #!/bin/bash # t2.sh read f if [[ $f == foo ]] ; then ... fi $ t1.sh | t2.sh Or #!/bin/bash # t1.sh ..... # do stuff if .... ; then ./t2.sh fi $ t1.sh > > 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. >