bug-bash
[Top][All Lists]
Advanced

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

Re: Bug: UTF-8 expansion results in extra characters


From: Eduardo Bustamante
Subject: Re: Bug: UTF-8 expansion results in extra characters
Date: Mon, 6 Mar 2017 08:15:50 -0600

On Mon, Mar 6, 2017 at 6:50 AM, L A Walsh <address@hidden> wrote:
[...]
> echo 'あa a '|wc -m
> 6
>
> There should only be 5 characters.
use echo -n then.

    $ echo -n 'あa a '|wc -m
    5



reply via email to

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