Re: Unifying BSD sed -E and GNU sed -r options?

[email protected] (Jose E. Marchesi)
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Hi Dan.

    It'd be nice to be able to use extended regexps in script
    run on both bsd and gnu.

The -E option, as a synonim of -r, has been supported by GNU sed since
at least 2006.  However it was not documented until recently.  See
http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00010.html.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.