Hi,
IGNORECASE changes the behavior of split() inconsistently. Why is it
so? Should it be consistent?
awk -v IGNORECASE=1 -e 'BEGIN { n = split("abc", a, "B"); print n }' #
I'd expect the result be 2 here.
1
awk -v IGNORECASE=1 -e 'BEGIN { n = split("abc", a, /B/); print n }'
2
--
Regards,
Peng