diff options
author | Fazlul Shahriar <fshahriar@gmail.com> | 2019-10-29 10:04:06 -0400 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2019-10-29 10:04:06 -0400 |
commit | 1309450668aa571dee97f4373f9555b4fddcf1aa (patch) | |
tree | 43bca68e1a2a0a4d5061bfae4daf0b2f4fea8a23 /font/smiley/0 | |
parent | 715807d706cd13bc583588477a84090fbf02e057 (diff) | |
download | plan9port-1309450668aa571dee97f4373f9555b4fddcf1aa.tar.gz plan9port-1309450668aa571dee97f4373f9555b4fddcf1aa.tar.bz2 plan9port-1309450668aa571dee97f4373f9555b4fddcf1aa.zip |
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
Diffstat (limited to 'font/smiley/0')
0 files changed, 0 insertions, 0 deletions