Re:Take care editing bash scripts (2019)
by michaelmrose on Thursday May 07, 2020 @05:52PM
(#23108784)
it changes under both emacs and vim but not under nano. Neither vim nor emacs is overwriting it in place but both show the bad behavior on my end.
One way to check how the editor behaves is to run
before and after editing the script. The first number in the output is the inode of the file; if it stays the same then the file was overwritten.