Up to [local] / src / usr.bin / wc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_0_BASE
Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 8 01:00:44 2015 UTC (8 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.25: +21 -10 lines
Diff to previous 1.25 (colored)
UTF-8 support: implement -m for character counting and use iswspace(3) for word counting. Requires using getline(3) rather than read(2) to make sure that characters aren't chopped to pieces. Using feedback from millert@ on an earlier version. Feedback and OK tedu@.