bug in sed, busybox-1.14.3
Natanael Copa
natanael.copa at gmail.com
Mon Aug 17 06:35:47 UTC 2009
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
More information about the busybox
mailing list