[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCRE mode for sed
From: |
Bob Proulx |
Subject: |
Re: PCRE mode for sed |
Date: |
Mon, 5 Nov 2012 15:11:51 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Christoph Anton Mitterer wrote:
> Just a feature idea:
>
> grep has nowadays -P which optionally allows to use PCRE as regexp
> langauge.
>
> It would be awesome if sed has the same.
Let me provide a dissenting opinion. IMNHO the addition of the -P
option to grep has caused no end of problems. For example the pcre
library on my system and I am sure many others lives in the
/usr/lib tree. But that isn't available during early boot time
before /usr has been assured of being mounted. This caused various
gratuitous bootstrapping problems. The same problems will be there
for sed.
The vote from me would be to not do it. One of the very strong
advantages of sed is that it is standard. There isn't enough
advantage in adding -P to offset the disadvantages.
Bob
- PCRE mode for sed, Christoph Anton Mitterer, 2012/11/05
- Re: PCRE mode for sed,
Bob Proulx <=
- Re: PCRE mode for sed, Christoph Anton Mitterer, 2012/11/05
- Re: PCRE mode for sed, Bob Proulx, 2012/11/05
- Re: PCRE mode for sed, John Cowan, 2012/11/05
- Re: PCRE mode for sed, Bob Proulx, 2012/11/05
- Re: PCRE mode for sed, Christoph Anton Mitterer, 2012/11/05
- Re: PCRE mode for sed, Bob Proulx, 2012/11/05
- Re: PCRE mode for sed, Christoph Anton Mitterer, 2012/11/05