Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 16:41:29 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Rationalizing sed -i/-I (in-place editing) argument handling
Message-ID:  <CAPyFy2CQ9uUPWx4F03aUXwf9u23Rm4MvRzfKnz%2BFeBcj3sow-w@mail.gmail.com>
In-Reply-To: <8e9983a4243d158789029ec8b16837b35ca4451a.camel@freebsd.org>
References:  <CAPyFy2DJcNsDd0tmfyuumDkxXoBDYDmNTqGL8VOsMjk3cr2=3A@mail.gmail.com> <8e9983a4243d158789029ec8b16837b35ca4451a.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Mar 2021 at 15:55, Ian Lepore <ian@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CQ9uUPWx4F03aUXwf9u23Rm4MvRzfKnz%2BFeBcj3sow-w>