Closed alwin-joshy closed 1 year ago
In GNU sed, the suffix is optional for the -i argument, but is mandatory for the BSD sed shipped with MacOS. This change checks whether the host is an Apple system and if so, supplies a suffix.
sed
-i
The other two changes are unrelated but were required to get style checks passing.
In GNU
sed
, the suffix is optional for the-i
argument, but is mandatory for the BSDsed
shipped with MacOS. This change checks whether the host is an Apple system and if so, supplies a suffix.