Hi all, 1. why `export -p' output something in the format `declare -x foo="bar"' 2. this format gives user an implication that by executing these `declare' commands, all those variables got exported, but this is only partly true as it fails in functions. 3. As in bash 4.2, -g option is added. why not change output format of `export -p' to `declare -g foo="bar"'?
thanks!