From: Jim Meyering Date: Fri, 11 Aug 2000 09:20:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_0y~60 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7c032c04b940340d5c530a3ddac43c10172d72b3;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 1e44dc651c..54588aafbf 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,7 +1,3 @@ -2000-08-11 Jim Meyering - - * doc/textutils.texi (wc invocation): Update accordingly. - 2000-08-10 Paul Eggert * doc/textutils.texi: Recommend against the System V syntax @@ -21,6 +17,23 @@ our own message. (cut_fields): Check for I/O error as well as end-of-file +2000-08-06 Bruno Haible + + * src/wc.c: Add support for multi-byte locales. + (iswprint, mbrtowc, wcwidth): Provide default definitions. + (total_bytes): New variable. + (print_bytes): New variable. + (longopts): Change abbreviation for --chars from 'c' to 'm'. + (usage): Update. + (write_counts): Add `bytes' argument. + (wc): New variables `bytes', `count_bytes', `count_chars', + `count_complicated'. The old code determines `bytes', not `chars'. + New case for MB_CUR_MAX > 1. A non-printable non-space character does + not increment the line position or start a word. Update `total_bytes'. + (main): Initialize `print_bytes' and `total_bytes' to 0. Accept 'm' + option. Pass `total_bytes' to write_counts. + * doc/textutils.texi (wc invocation): Update accordingly. + 2000-08-06 Bruno Haible * src/head.c (head): Call write_header here.