Did anyone ever mention that a billion
$ bla_bla|gzip|wc 2>&1|head -n 1
wc: standard input:1: Invalid or incomplete multibyte or wide character
$ bla_bla|gzip|wc 2>&1|wc
    308    3073   22634
(OK, not a billion, but just the same as far as one's terminal buffer is
concerned) is more than enough to get the message across.

One "Holmes, use -c or LC_ALL=C" would be enough. Or maybe, just
maybe, act like we did, and require a --charset-characters if we are
to count locale (me: utf8) characters, or even (yuck) have that as a
fourth output field.

Anyway, I bet the standards document that you are trying to match
doesn't say you need to fill one's xterm buffer like that.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to