i have 2 scripts : example : toto.sh (main script) and toto.conf.sh
toto.conf.sh :
case $1 in
"alci")
nb=1
domain="soder"
;;
*)
exit 1;
;;
esac
exit 0
toto.sh :
domain=""
site_name=$1
./toto.conf.sh $site_name
echo $domain
...
exit 0
i launch : ./toto.sh alci, then i want to retrieve my variable "domain" in
the main script, after the call of the toto.conf.sh but i dont know how i
can do.
Do you have a solution with variables ?
thank u very much.
--
View this message in context:
http://www.nabble.com/variables-tf4169700.html#a11862475
Sent from the Gnu - Bash mailing list archive at Nabble.com.