grep-devel
[Top][All Lists]
Advanced

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

Re: grep-3.3.42-088f test results on AIX


From: Jim Meyering
Subject: Re: grep-3.3.42-088f test results on AIX
Date: Wed, 25 Dec 2019 15:25:58 -0800

On Wed, Dec 25, 2019 at 3:08 PM Paul Eggert <address@hidden> wrote:
>
> On 12/24/19 2:39 PM, Jim Meyering wrote:
> > Thanks. This summarizes the problems on that system:
> > # An invalid multibyte-sequence *is* matched by "." (it should not be):
> > $ printf '\351' |LC_ALL=en_US.UTF-8 src/grep .; echo $?
>
> That problem is in /bin/sh's printf command, not in grep. In a UTF-8 locale
> "printf '\351'" outputs the bytes C3, A9 rather than the desired E9; 
> apparently
> printf is taking the \351 to be a character rather than the byte that POSIX
> requires. I installed the attached patch to work around the problem. I also
> installed a patch to autoconf to document the printf glitch
> <http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=a9f5544ff60bcc113253861f463471b169def545>.

Nice. thank you!



reply via email to

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