summaryrefslogtreecommitdiffstats
path: root/src/cmd/awk/lib.c
Commit message (Collapse)AuthorAgeFilesLines
* awk: split record into runes for empty FS (#292)Fazlul Shahriar2019-10-291-4/+9
| | | | | | | | | | | | 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
* awk: import from sourcesJeff Sickel2008-11-031-0/+713