title: Returning a value from child shell script to a parent script
body: <p><br/>
      I am having two shell scripts, say script1.sh and script2.sh. I am calling script2.sh from script1.sh. In script2.sh a few evaluations are done and based the results a flag is being set. Now i need to pass the flag to script1.sh based on which it will be decided whether the script1.sh should continue it execution or exit. I am not using functions. and while i export the flag, in script1.sh it is blank. <br/> My question now is how do i return the flag from script2.sh ?<br/> Any help ? Any Ideas? Experiences to share? </p>