bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement request to wc


From: Jim Meyering
Subject: Re: Enhancement request to wc
Date: Sun, 08 Feb 2009 16:01:55 +0100

Neo Anderson <address@hidden> wrote:
> Not very sure whether I can send attach file or not. In this mail I've
> sent an attached file (file name is sample.big5), in which it contains
> 4 Traditional Chinese words encoded in BIG5. There is no white space
> between these 4 words.
>
> The content looks like "中文測試".

Thanks for the details, but POSIX[1] requires that wc count that as
a single word:

    The wc utility shall consider a word to be a non-zero-length string of
    characters delimited by white space.

[1] http://www.opengroup.org/onlinepubs/000095399/utilities/wc.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]