mirror of
https://github.com/google/brotli.git
synced 2026-04-06 06:03:43 +00:00
[PR #627] Work around Linuxisms #1277
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/google/brotli/pull/627
State: closed
Merged: Yes
Missed this in my previous tests. Sorry for that.
On BSDs, both bc and sed are part of the base operating system. For sed this results in an error as the check construct (--version) is a GNU-ism and only works for GNU sed, not for bsd sed.
Similarly, BSD sed does not take parameters after the filename(s) operated on. Moving
-ito the front fixes that.-ris provided for GNU compat in BSD sed as an alias of-E. The-ioption in BSD sed requires an extension to work in-place.(thank you for picking up the nginx module too!)