From Bash Manual:Note that shell functions and variables with the same name may result in multiple identically-named entries in the environment          passed to the shells children. Care should be taken in cases where          this may cause a problem.How can bash distinguish  shell functions and variables with the       same name ?$  func () { return 3; }; func=4; declare -p func; declare -f func;declare -- func=4func () {   return 3}When does multiple identically-named entries in the environment           passed to the shells children happen?What care should be taken for what problem?Thanks.
shell functions and variables with the same name
bash;environment variables;function