> dunno about \"original awk specification\" but i know that we should > adhere to: > http://www.opengroup.org/onlinepubs/9699919799/utilities/awk.html > This doesn't specify how for loops are implemented. Allocating temporary for-in loop variables is a pure gnu extension I assume. I have never seen any specification that says that the loop variables has to be protected against invalid recursive function usage.
... and Denys patch is a poor (not to say bad) hack. It will never be expandable to a fully functional version (that is breaking loops). Let me see, if I can find out what are the internal differences of for-in loops between gawk and busybox and if we can adapt those changes to busybox. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
