Skip to content

Conversation

@strafe
Copy link
Contributor

@strafe strafe commented Feb 28, 2024

macOS uses the BSD version of sed that unlike the GNU version, requires the backup suffix to be supplied when using -i or -I.

There are a couple of ways to accommodate for this, but this seemed like the cleanest cross-platform way to me. GNU sed requires there to be no space between the option and parameter, BSD sed doesn't mind either way.

macOS uses the BSD version of sed that unlike the GNU version, requires the backup suffix to be supplied when using -i or -I.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant