In Advanced Bash-Scripting Guide, in example 27-4, 7-th line from the bottom, I've read this:
A function runs as a sub-process.
I did a test in Bash, and it seems that the above statement is wrong.
Searches on this site, Bash Man, and my search engine don't bring any light.
Do you have the answer and would like to explain?
***if you want a proof, I can't give you. I've derived it from webpages, comments... I've read that statement somewhere sometime ago.
– Daniel Bandeira Jul 23 '20 at 15:06