History log of /openbsd-current/regress/usr.bin/wc/wc.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.3 30-Sep-2018 schwarze

For -w output in -m mode, tweak the handling of bytes that do not
form valid UTF-8: treat them as "not a whitespace character" and
hence "not a word boundary" in the same way as non-printable
characters and NUL bytes.

OK millert@


# 1.2 30-Sep-2018 schwarze

fix the rest of the bug mitigated in the previous commit:
do not embark on an infinite loop
when -m is given and the file contains a NUL character;
OK millert@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.1 07-Oct-2016 schwarze

minimal UTF-8 tests for wc(1)


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.1 07-Oct-2016 schwarze

minimal UTF-8 tests for wc(1)