alhassani54
Programmer
Hi
I have two scripts (script1 and script2). Script1 calls Script2.
I tried the scripts below by running script1. The result is null but I would like to have the result of abc = "y" in script1.
Thank you
Script1
#! /bin/ksh
./script1
print "abc="$abc
Script2
#! /bin/ksh
export abc="y"
I have two scripts (script1 and script2). Script1 calls Script2.
I tried the scripts below by running script1. The result is null but I would like to have the result of abc = "y" in script1.
Thank you
Script1
#! /bin/ksh
./script1
print "abc="$abc
Script2
#! /bin/ksh
export abc="y"