[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed does not support +
From: |
Davide Brini |
Subject: |
Re: sed does not support + |
Date: |
Sat, 21 Jul 2012 20:54:22 +0200 |
On Sat, 21 Jul 2012 15:18:07 +0200, Paolo Bonzini <address@hidden> 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.