[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enhancement request to wc
From: |
Neo Anderson |
Subject: |
Re: Enhancement request to wc |
Date: |
Sun, 8 Feb 2009 07:44:51 -0800 (PST) |
I understand that, so just to ask if it is possible to add a new option e.g..
-utf8 so that wc can count word which is wild characters.
--- On Sun, 8/2/09, Jim Meyering <address@hidden> wrote:
> From: Jim Meyering <address@hidden>
> Subject: Re: Enhancement request to wc
> To: "Neo Anderson" <address@hidden>
> Cc: "Pádraig Brady" <address@hidden>, address@hidden
> Date: Sunday, 8 February, 2009, 3:01 PM
> 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
>
>
> _______________________________________________
> Bug-coreutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-coreutils