Re: sed does not support +
Paolo Bonzini <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
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. The "+" means "one or more matches". Paolo