Paul Eggert
31076e8689
wc: fix word count bug
...
* bootstrap.conf (gnulib_modules): Remove c32isprint.
* src/wc.c (wc): Consider all non-white-space characters
to be word constituents, even if they are not printable.
POSIX requires this, and it is what BSD does.
Partly do this by simplifying the check for a word,
by counting word starts rather than word ends.
* tests/wc/wc.pl: Test for the bug.
2023-09-23 00:28:27 -07:00
..
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-02-18 13:30:10 -08:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-08-27 20:22:32 +01:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-11 23:10:34 +01:00
2023-08-28 14:06:43 -07:00
2023-04-16 16:11:20 +01:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-04-21 19:13:52 +01:00
2023-01-01 14:50:15 +00:00
2023-09-17 18:47:50 +01:00
2023-08-31 21:59:02 +01:00
2023-01-01 14:50:15 +00:00
2023-07-22 13:41:07 -07:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-04-25 14:18:35 +01:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-08-19 16:45:17 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-07-18 23:10:40 +01:00
2023-09-20 15:53:34 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-09-23 00:28:27 -07:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2023-05-07 23:07:12 +02:00
2023-08-28 14:06:43 -07:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2021-05-12 22:14:11 +01:00