[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed does not support +
From: |
Paolo Bonzini |
Subject: |
Re: sed does not support + |
Date: |
Sat, 21 Jul 2012 15:18:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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