Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
awk: split record into runes for empty FS (#292)
awk was splitting records into bytes instead of runes for empty FS. For example, this was printing only the first byte of the utf-8 encoding of é: echo é | awk 'BEGIN{FS=""}{print $1}' The change just copies how the `split` function handles runes. Originally reported by kris on twitter: https://twitter.com/p9luv/status/1180436083433201665
- Loading branch information