All of lore.kernel.org
 help / color / mirror / Atom feed
* busybox 1.21 ash bug?
@ 2013-12-10 12:22 Diego Sueiro
  2013-12-10 15:53 ` Olof Johansson
       [not found] ` <20131210154634.GU31548@axis.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Diego Sueiro @ 2013-12-10 12:22 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

Folks,

Recently I switched to dora branch which builds busybox 1.21.
I was using dylan branch with busybox 1.20 and the some shell scripts
stopped working.
There is a problem related with "for" statements.

For example, on script below, it runs nice on busybox 1.20 but on 1.21
fails with the output:"./script.sh: line 3: syntax error: bad for loop
variable".

#!/bin/sh

for (( i=1; i <= 5; i++ ))
do
 echo "Random number $i: $RANDOM"
done


I've searched on busybox bug tracking but did not found nothing related
with this.

Maybe I'm missing something, I really don't know.

I appreciate any help with this, and I'm sorry if this is not the
appropriate list to discuss this kind of subject.



Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/

[-- Attachment #2: Type: text/html, Size: 1661 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-10 17:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10 12:22 busybox 1.21 ash bug? Diego Sueiro
2013-12-10 15:53 ` Olof Johansson
     [not found] ` <20131210154634.GU31548@axis.com>
2013-12-10 17:14   ` Diego Sueiro
2013-12-10 17:25     ` Paul Eggleton
2013-12-10 17:46       ` Diego Sueiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.