passing variables from on script to another



How do I pass variables from one scrip to another.

I dont want to call the second script from the first with the variables on
the 'command l

I really want to set an environment variable in script1 and pick it up in
script2, but I can't get it to work

script1=

-----------------------------------------------
dk=derrick
echo $dk
script2
-----------------------------------------------

script2 =

-----------------------------------------------
echo $dk


script 1 echos derrick, but script 2 does not??

thanks

derrick


.



Relevant Pages