Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 17:08:27 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>, 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:  <CAPyFy2C_RJSJFy-ht9TVR%2BVw7N-Ro9KGXPFY48hrVvxLz3t4nw@mail.gmail.com>
In-Reply-To: <20210308220026.GK5246@funkthat.com>
References:  <CAPyFy2DJcNsDd0tmfyuumDkxXoBDYDmNTqGL8VOsMjk3cr2=3A@mail.gmail.com> <20210308220026.GK5246@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Mar 2021 at 17:00, John-Mark Gurney <jmg@funkthat.com> wrote:
>
> How is the program suppose to tell when the extension is "-e", or -e
> is a different option and not the argument to -I?

-i-e is an in-place edit with extension "-e"
-i -e is an in-place edit with no extension



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2C_RJSJFy-ht9TVR%2BVw7N-Ro9KGXPFY48hrVvxLz3t4nw>