[BusyBox] for loop crash

Matt Kraai kraai at alumni.carnegiemellon.edu
Mon Aug 20 09:17:15 MDT 2001


On Sun, Aug 19, 2001 at 05:48:10PM -0400, Guillaum Dallaire wrote:
> Matt Kraai a écrit :
> 
> > On Sun, Aug 19, 2001 at 04:53:40PM -0400, Guillaum Dallaire wrote:
> > > when I try this:
> > >
> > > for item in `cat list.txt`
> > > do
> > >     echo $item
> > > done
> > >
> > > the busybox shell crash.
> > >
> > > any idea ?
> >
> > Which BusyBox shell, and which version of BusyBox?
> >
> > Matt
> 
> busybox: 0.60.0
> shell : /bin/sh

I tested your script using BusyBox msh, and it failed.  It appears
to not handle the `s properly.  Any shell hackers know how to fix
this?

Matt





More information about the busybox mailing list