Closed theundefined closed 7 years ago
This was changed to 0 in 1f788d622ac84ad90d340bca0794c2e664706fec by @gurubert @gurubert which awk flavor/version are you using which expects 0 here? 1 seems to be the correct in my opinion.
There is a difference between mawk and gawk. At the time I wrote the patch we had gawk installed. I think you should explicitely call mawk which starts counting at 1.
I think correct solution is counting from 1 ;) It works both on mawk and gawk. And probably any other awk implementation.