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

"Davide Brini" <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
> Dan Kegel wrote:
>
> Right, but for now, I have to check platform before using it, e.g.
> 
>  case $_os in
>  osx*) xregx=-E;;
>  *) xregx=-r;;
>  esac
>  ... sed $xregx ...

But I'm saying exactly that you *can* use -E with GNU sed. Or maybe I don't get what you mean.
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.