[BusyBox] Ash *surprises*

Vladimir N. Oleynik dzo at simtreas.ru
Fri Aug 10 10:33:40 UTC 2001


David,

> > > 6. IFS="," ; set -- $FOO ...where FOO="a, b, c, d" acts differently:
> > >    ash:    returns: $1=a $2=b $3=c $4=d
> > >    bb ash: returns: $1=" a" $2=" b" $3=" c" $4=" d"
> > >    ...setting IFS to ", " restores the desired behavior.
> >
> > This not quick correct...
 
> Is this related to the IFS_BROKEN tag in ash.c?

If set IFS_BROKEN ash use always IFS=" \n\t"
Please give me real shell script for test your problem.


--w
vodz





More information about the busybox mailing list