Commit cf6522a
docs: use portable sed instead of sed -i for macOS compatibility
`sed -i -e` is GNU sed syntax. BSD sed (macOS) requires `sed -i '' -e`
for in-place editing without a backup extension. Using `sed -i -e` on
macOS causes `sed: -e: No such file or directory` because BSD sed
interprets `-e` as the backup extension argument.
Replace all `sed -i` calls with `sed ... > tmp && mv tmp original`
which is portable across GNU and BSD sed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e7cae38 commit cf6522a
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments