Subject: Re: bug#39999: sed -i non-POSIX

From: Greg Troxel <[email-masked]>
Date: Fri, 01 May 2020 10:37:43 -0400

wlharvey4--- via "Bug reports for GUILE, GNU's Ubiquitous Extension
Language" <[email-masked]> writes:

> Greg,
>
> Good point.  The BSD sed man page says:
>
> "The -E, -a and -i options are non-standard FreeBSD extensions and may not be available on other operating systems."
>
> So perhaps a better solution is to not use the -i option at all and be POSIX compliant?
>
> Informally looking through some of the code, this was the only use of the -i option that I found.

If that is at all reasonable, then I think it's the best thing to do.

FWIW, the saem text about -i being a FreeBSD extension appears in the
NetBSD man page.