I am wondering what's the difference between these 2 ways of calling a script:
Code:
. ./foo.sh
./foo.sh
I remember it has to do with subshell or something like that. But I couldn't find it in the bash reference manual. Any one could point me to the right place please? Thanks.