Because Awk first reads the next record, splits it into fields then execute the code. And you only set the [tt]FS[/tt] in the code. So after the splitting was performed.
You can force Awk to repeat the splitting by touching the record :
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.