Closed millert closed 8 months ago
Now that awk stores chars as int we need to cast the Node to int .
Fixes the following script on big endian CPUs.
BEGIN { work="K"; gsub("[x]", "J", work); print work; }
Before fix:
JKJ
After:
K
Thanks to George Koehler for simplifying the test case.
thanks todd, appreciated.
Now that awk stores chars as int we need to cast the Node to int .
Fixes the following script on big endian CPUs.
Before fix:
After:
Thanks to George Koehler for simplifying the test case.