As the question says, what is the difference between executing a script with
source command and with
. , i.e.:
There seems to be much disbelief about this! For anyone who might like to verify that the commands are simply synonyms and nothing more: first download and extract the source code. Then examine the file,
This behaviour has bitten me, scripts tested with bash as /bin/sh fail when run under ash, for example.