3 ms·
The incompatibility between the two versions of sed (I have both installed on my macOS) is super annoying.
by user3939382 4y ago
The incompatibility between the two versions of sed (I have both installed on my macOS) is super annoying.
- nerdponx 4y agoIsn't BSD Sed a subset of GNU Sed? I can't think of any outright incompatibilities that would make a BSD Sed script invalid for GNU Sed.
- alwaysbeconsing 4y agoTheir handling of the in-place flag is different enough to cause irritation if you forget which one you're invoking.
- kevans91 4y agoI'd like to change it in FreeBSD, but haven't really (yet) come up with a clever way to make it work without breaking years of scripts that may be using -i.
- user3939382 4y agoAre you a maintainer of sed on FreeBSD?
- kevans91 4y agoNot sure we have anyone that could really call themselves a maintainer for sed, but I am a FreeBSD committer that has put thought into this problem in the past.