[nylug-talk] need sed help

Ah Pook ahpook at verizon.net
Tue Apr 3 15:16:57 EDT 2007


On Tuesday 03 April 2007 3:00 pm, Peter C. Norton wrote:
> 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.

+Open, of course.


More information about the nylug-talk mailing list