[Help-bash] How to make variable set in () accessible outside?
From:
Peng Yu
Subject:
[Help-bash] How to make variable set in () accessible outside?
Date:
Wed, 2 May 2012 22:37:04 -0500
Hi,
(export XXX=a)
echo $XXX
In the above code, the echo command will print nothing. I'm wondering
if there is a way make the variable set in () accessible outside.
--
Regards,
Peng