I know that editing the file on disk where a script is stored while this script is running is a very bad idea.
But will it hurt if I make a soft link (ln -s) to some version of the script, then run it by typing that symlink name and, while it is still running, change the link to point to another version of the same script? What the running script is connected to, the very inode where the script is stored or the whatever-is-found-by-following-the-symlink?
By the way, how are things with sourcing scripts inside other scripts? The sourced script is wholly read and executed, isn't it?
The question is primarily about bash scripting.
Thanks to everybody in advance!