On Thu, 9 Jan 2003, David Busby wrote: > List, > I've got a bash script, that executes other scripts (wow!) and the sub > scripts return a value. > How can I get the parent script to capture that return value? I've been all > over the BASH manual (more than one hour) and Google, still no luck.
subscript: ... blah blah ... echo $RETURNVALUE # print value to return calling script: VAL=$(subscript) # capture printed value rday -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list