Re: sed does not support +
Davide Brini <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 21 Jul 2012 15:18:07 +0200, Paolo Bonzini <[email protected]> wrote: > Il 21/07/2012 11:32, Zhonghua Zhu ha scritto: > > I heard some say original sed does not support +, GNU sed does. > > > > http://www.grymoire.com/Unix/Sed.html > > > > But it does not. > > > > So is there anything wrong with me ? or is it a bug? > > The page says: > > The original sed did not support the "+" metacharacter. GNU sed does if > you use the "-r" command line option, which enables extended regular > expressions. Or using "\+" when in BRE (ie, normal) mode. -- D.