3 ms·
That's platform dependent. BSD sed doesn't support -i
That's platform dependent. BSD sed doesn't support -i
I don't think that's true anymore, though it was historically. The sed currently shipped with both FreeBSD and OpenBSD supports -i, at least.
You can use Perl in sed mode via "perl -pe" as a more portable replacement for sed.