As the question says, what is the difference between executing a script with
source command and with
. , i.e.:
For anyone who might like to verify that the commands are simply synonyms and nothing more, look at the source code, say for version 4.3, and examine the file
This behaviour has bitten me, scripts tested with bash as /bin/sh fail when run under ash, for example.