solution history
Proposed fix: [macOS/BSD sed vs GNU sed] 'sed -i' portability: BSD sed 'invalid command code' / 'extra characters at the end of ... command' when -i has no suffix; GNU sed treats -i '' as a filename
Revision reasons are not recorded in this slice.