bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug in GNU awk, RLENGTH fails in locale es_UY.UTF-8


From: Aharon Robbins
Subject: Re: Bug in GNU awk, RLENGTH fails in locale es_UY.UTF-8
Date: Mon, 09 Feb 2009 06:15:38 +0200

Greetings. Re this:

> From: Francisco Castro <address@hidden>
> Subject: Bug in GNU awk, RLENGTH fails in locale es_UY.UTF-8
> Date: Tue, 20 Jan 2009 19:52:00 -0200
> To: address@hidden
> Envelope-to: address@hidden
>
> I found a bug, and I hope these examples help.
>
> address@hidden:~% awk --version | sed q
> GNU Awk 3.1.5
>
> address@hidden:~% echo $LANG
> es_UY.UTF-8
>
> address@hidden:~% echo ae | awk '{print match($0, /e*/); print RSTART, 
> RLENGTH}'
> 1
> 1 17
>
> # It works with LANG=C
> address@hidden:~% echo ae | LANG=3DC awk '{match($0, /e*/); print RSTART, 
> RLENGTH}'
> 1 0

This is fixed in the current gawk version, 3.1.6. Please upgrade.

Thanks,

Arnold




reply via email to

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