[BusyBox] ash and local variables

Axel Barnitzke barney at xkontor.com
Thu Feb 21 08:19:03 UTC 2002


Hi Eric,


I have a pbroblem with ash and I didn't find the error in

the sources :-(

[snip]
doesnotwork()
{
   local avar=4711

   echo "inside: $avar"
}

butthisonedoes()
{
   local avar
   avar=4711

   echo "inside: $avar"
}

[snap]


May someone can fix this ?

    -- Barney

--------------------------------------
++ axel (barney) barnitzke
++ it consultant
++ xkontor IT solutions


email :: mailto:barney at xkontor.com





More information about the busybox mailing list