bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] bug in gawk


From: arnold
Subject: Re: [bug-gawk] bug in gawk
Date: Thu, 04 Apr 2019 05:00:22 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Aleksey Cheusov <address@hidden> wrote:

> Hello Aaron. I'm writing to you directly because I think I've found
> a bug in gawk and I could not find bug tracking system for it.

Bugs should be emailed to address@hidden I am adding the bug list.

> Typescript is below. I use LC_ALL=C for working with bytes, not with
> symbols. This code worked for me for more than decade but now it fails.
>
> 0 dictd>uname -s
> Linux
>
> 0 dictd>rpm -qa | grep glibc-devel
> glibc-devel-2.26-lp150.11.9.1.x86_64
> linux-glibc-devel-4.15-lp150.1.23.noarch
>
> 0 0 dictd>gawk --version | head -2
> GNU Awk 4.2.1, API: 2.0
> Copyright (C) 1989, 1991-2018 Free Software Foundation.
>
> 0 0 dictd>echo a | env LC_ALL=C gawk '/^[\300-\337]/ {print 1}'
> gawk: cmd. line:1: error: Invalid range end: /^[??-??]/
>
> 0 1 dictd>echo a | env LC_ALL=C gawk '/^[\300-\377]/ {print 1}'
>
> 0 0 dictd>

I have reproduced this. It's strange. I will investigate further.

Thanks for the report!

Arnold



reply via email to

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