ash: substring processing seems to be borken

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Fri Apr 11 19:18:31 UTC 2008


On Fri, 11 Apr 2008, James Simmons wrote:

> > On Fri, 11 Apr 2008, James Simmons wrote:
> >
> > > > This one: ${parameter#word}.  Can be reproduced with:
> > > >
> > > >   # ./ash -c 'var=1/2/3;echo ${var#?}
> > > >   1/2/3
> > > >
> > > > expected: /2/3.'
> > >
> > > Did this work before?
> >
> > But of course:
> >
> >   # busybox --help | head -n1
> >   BusyBox v1.10.0 (2008-04-01 15:23:58 CEST) multi-call binary
> >
> >   # ash -c 'var=1/2/3;echo ${var#?}'
> >   /2/3
> >
> > It's svn that was broken at the time I reported this.
> > Didn't check that since, but I'll do that again soon.

I did check again, on current svn, and the bug is still there.

> I will track it down. Give me a few days.

Right.


Cheers,

-- 
Cristian



More information about the busybox mailing list