Rationalizing sed -i/-I (in-place editing) argument handling

Ed Maste emaste at freebsd.org
Mon Mar 8 21:41:59 UTC 2021


On Mon, 8 Mar 2021 at 15:55, Ian Lepore <ian at freebsd.org> wrote:
>
> I also hate the idea of requiring no space between -I and its related
> value.  That seems like a huge POLA violation compared to how virtually
> every other command's options and arguments work.

On the other hand, -i.ext with no space is compatible with FreeBSD
today and is portable to OpenBSD, NetBSD, macOS, and GNU. -i .ext
works only with FreeBSD and macOS.


More information about the freebsd-hackers mailing list