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.