GNU bug report logs - #26779
expr length

Previous Next

Package: coreutils;

Reported by: Андрей Воронов <voronov <at> factor-ts.ru>

Date: Thu, 4 May 2017 15:24:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Андрей Воронов
 <voronov <at> factor-ts.ru>
Subject: bug#26779: closed (Re: bug#26779: expr length)
Date: Thu, 29 Jun 2017 01:21:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26779: expr length

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26779 <at> debbugs.gnu.org.

-- 
26779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26779
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Assaf Gordon <assafgordon <at> gmail.com>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 26779-done <at> debbugs.gnu.org,
 Андрей Воронов <voronov <at> factor-ts.ru>
Subject: Re: bug#26779: expr length
Date: Wed, 28 Jun 2017 21:20:05 -0400
> On Jun 28, 2017, at 12:32, Pádraig Brady <P <at> draigBrady.com> wrote:
> 
> On 27/06/17 18:41, Assaf Gordon wrote:
>> Attached work-in-progress for expr/multibyte,

> This looks to have sufficient testing and is ready to push.
> We can look at using wide strings internally in a further patch.

Thanks,
pushed here:
  https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=a9f2be5bfec2bfe86c08

I'm thus closing this bug report (but of course
discussion can continue by replying to this thread).

regards,
 - assaf



[Message part 3 (message/rfc822, inline)]
From: Андрей Воронов <voronov <at> factor-ts.ru>
To: bug-coreutils <at> gnu.org
Subject: expr length
Date: Thu, 4 May 2017 12:59:31 +0300
Hello,

I have the bug in expr utility when it perform operation of the 
calculating length of the string in my multi-byte encoding ru_RU.UTF-8.
When I run:  "expr length Привет"
it return me the number 12.
But in the russian word "Hello" the length is 2 times shorter: exactly 6 
characters.
May you register and fix this problem?

expr --version
expr (GNU coreutils) 8.25

God bless you





This bug report was last modified 8 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.