diff options
author | James Youngman <jay@gnu.org> | 2007-05-26 07:08:18 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-05-26 07:13:50 +0200 |
commit | e82c7ddd4737d3e402cb6c73d91b50afe8c5b7f7 (patch) | |
tree | 8499ecbe6d89853aeeee0465f99c4c3ce3c81133 /NEWS | |
parent | 8ab7f351a139ab25a14843c69699069242bfc510 (diff) | |
download | coreutils-e82c7ddd4737d3e402cb6c73d91b50afe8c5b7f7.tar.xz |
wc: ignore multibyte-character decoding errors
* src/wc.c (wc): Don't issue an error message when mbrtowc
indicates that we have seen an invalid byte sequence. This
makes "wc /bin/sh" bearable (though the word and line counts
are likely not to be useful).
* NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ GNU coreutils NEWS -*- outline -*- option of the same name, this makes uniq consume and produce NUL-terminated lines rather than newline-terminated lines. + wc no longer warns about character decoding errors in multibyte locales. + This means for example that "wc /bin/sh" now produces normal output + (though the word count will have no real meaning) rather than many + error messages. + ** Bug fixes cut now diagnoses a range starting with zero (e.g., -f 0-2) as invalid; |