Hacker News new | ask | show | jobs
by alexis_fr 2234 days ago
I have noticed this behavior on Ubuntu in 13.13. On the other hand, I kept the habit of expecting a script to fail when modifying it (most of the time, starting a command in the middle makes it fail) but it never seems to occur on macOS’s bash.
2 comments

Was that the Ubuntu released in the 13th month of 2013, Fictional Ferret?
If shell scripting on macOS works different (and this sounds like exactly the kind of thing that might work different) then that would explain why I didn’t come across this years ago. Most of my 10 years of shell scripting have been on macOS.