[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: bug in sed, busybox-1.14.3
From:       Natanael Copa <natanael.copa () gmail ! com>
Date:       2009-08-17 6:35:47
Message-ID: 1250490947.30774.2.camel () localhost ! localdomain
[Download RAW message or body]

On Mon, 2009-08-17 at 01:34 +0200, Denys Vlasenko wrote:
> On Sunday 16 August 2009 13:02, Natanael Copa wrote:

> > Here comes the exact sed line:
> > 
> > GNU sed:
> >  nclab01:~$ echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g'
> > ../..
> > 
> > Busybox sed:nclab01:~$ echo /usr/lib | busybox sed
> > 's,\(^/\|\)[^/][^/]*,..,g'
> > ....
> 
> Please try attached patch.

Seems to work.

Thanks!

-nc

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic