Bash's feature of being editable while it's running is particularly concerning for environments where there are many developers or where tools like rsync might be used on a source directory.
See below for an example/solution: http://stackoverflow.com/a/19430939/627042 I'd like to add a very simple command line flag to bash that forces it to make a temporary copy of the script that's running so that developers of scripts in these environments can continue to use tools like rsync or git, etc. to do code releases, but don't have to worry that running scripts will have unpredictable behavior. Is this something that the current maintainers would be interested in including in the main code? - Erik