Possible issue with awk

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 11 11:19:54 UTC 2010


On Wed, Mar 10, 2010 at 11:32 PM, Harald Becker <ralda at gmx.de> wrote:
> To change the busybox for-in loop behavior of awk to that of gawk the
> following steps are required:
>
> - add an extra node OC_WALKDONE to the end of the for-in loop node list
> - save the current variable contents in hashwalk_init (OC_WALKINIT)
> - save the current walker list in hashwalk_init (OC_WALKINIT)
> - do NOT modify hashwalk_next (OC_WALKNEXT)
> - add an execution node for OC_WALKDONE
> - restore previous walker list in OC_WALKDONE
> - restore previous variable contents in OC_WALKDONE
>
> Is it ok to you, if I do those changes?

Sure, but please do "git pull" first, I changed awk.c a bit.
-- 
vda


More information about the busybox mailing list