# master bash script, that calls the others
$SCRIPTDIR/do_script_1.sh parameter1
$SCRIPTDIR/do_script_2.sh
# note next line, script 3 returns a result
$RESULT = $SCRIPTDIR/do_script_3.sh
# pass that result to script 4
$SCRIPTDIR/do_script_4.sh $RESULT
|