[nylug-talk] need sed help

Peter C. Norton spacey-nylug at lenin.net
Tue Apr 3 15:00:18 EDT 2007


On Tue, Apr 03, 2007 at 02:05:58PM -0400, Marco Romeny wrote:
> On 4/3/07, Marco Romeny <marco.romeny at gmail.com> wrote:
> 
> > Shouldn't that be reported as a bug to sed?  I would expect + to be
> > one of the regext controlchars...
> > Off to bugzilla!
> 
> Ohh..  and on a mac  echo xxx+++|sed 's/x\+//'
> returns xx++
> 
> I guess on mac one have to do 's/x\{1,\}//'

This seems to hold true on netbsd and freebsd as well. 

*sigh*

-Peter

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.



More information about the nylug-talk mailing list