View Single Post
Old 04-22-2003, 05:35 PM  
daddio
Registered User
 
Join Date: Apr 2003
Location: NY
Posts: 24
Try this

scriptB:

#!/usr/local/bin/ksh -p # -- (Your path to ksh)
MYVARIABLE="hello" ; export MYVARIABLE

scriptA:

#!/usr/local/bin/ksh
. /$HOME/scriptB # -- Path to script B (Example)
echo $MYVARIABLE

daddio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote