busybox-1.15.2 awk broken

Teh Kok How khteh at smartbridges.com
Mon Oct 12 10:18:21 UTC 2009


Hi;

            I am using busybox-1.15.2 and simple awk is broken as follows:

 

-> awk -F"-" '{ print $1,$2 }' input.txt

intvar[2]: -

intvar[2]: -

Hello-World Hello-World

SmartBridges[0,0]-> cat input.txt

Hello-World

->

 

            The intvar is the printf() that I put in awk.c but apparently,
the error here is that no matter what field separator I use in the input
file, the print $1,$2 does not take the correct values from awk.

            Any insight is appreciated.

 

Regards,

Teh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20091012/2274ead0/attachment.htm>


More information about the busybox mailing list