Script A imports all variables from B script; the problem is script B, I do not know if exist or is empty the variable as I need. Case not exist variable in B, then I use my variable in script A. case it exist in A use my variable B; or it exist in A and B then use for default variable in B.
Example: In this case the variable Comment3 in my script "B" is empty...
script B.sh
#!/bin/sh
Name='<b>Variety</b>'
Comment='<span size="xx-large">Variety changes the wallpaper on a regular interval</span>'
Comment3=''
License='GPLv3'
Screenshot='http://peterlevi.com/variety/wp-content/uploads/2012/10/01-all-1024x576.jpg'
Url='http://peterlevi.com/variety/'
export Comment
export Name
export Comment3
export License
export Screenshot
export Url
Script A.sh
#!/bin/sh
. $HOME/B.sh
Comment2='Variety changes the desktop wallpaper on a regular basis, using user-specified or automatically downloaded images.'
echo $display_variable_comment3_or_comment2 (depending the case)
sorry my english is bad :/