diff options
author | 2016-01-07 18:02:43 +0000 | |
---|---|---|
committer | 2016-01-07 18:02:43 +0000 | |
commit | b22b812bded34bc486fc78ebe78d6aa652dc0937 (patch) | |
tree | 0b2bf7a688c68056b89a5ef8caf28ee8ad389b8b /share | |
parent | sync (diff) | |
download | wireguard-openbsd-b22b812bded34bc486fc78ebe78d6aa652dc0937.tar.xz wireguard-openbsd-b22b812bded34bc486fc78ebe78d6aa652dc0937.zip |
UTF-8 support for fmt -c.
This implies two small changes in behaviour:
1. Let fmt -c replace invalid bytes with ASCII question marks
just like when called without -c.
2. On lines to be centered, replace each tab with a single blank,
simply because there is no useful way to define the meaning of a
tab on such a line. Having the width of a tab depend on what is
to the right of it would be completely crazy (and complicate the
code a lot), and otherwise, tabs on adjacent lines of different
length wouldn't align anyway.
OK millert@
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions