bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] 4.0 beta1, character lists broken


From: Juergen Daubert
Subject: [bug-gawk] 4.0 beta1, character lists broken
Date: Fri, 27 May 2011 14:26:55 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

first a big thanks for the new gawk with lots of nice new features. 

I've done some first tests, it looks like the handling of character 
lists is partially broken with the new 4.0 beta:


$:~> echo 'a' | awk '/[\001-\177]/'
awk: cmd. line:1: fatal: add_char: *bufp: can't allocate -1879052298 bytes of 
memory (Cannot allocate memory)

$:~> echo 'a' | awk '/[\134]/'
awk: cmd. line:1: error: Unmatched [ or [^: /[\]/

$:~> echo '\' | awk '/[\001-\176]/'
$:~> 

$:~> awk --version | head -n1
GNU Awk 3.1.84


This is on a almost up-to-date Linux system with glibc 2.12.2 and gcc
4.5.3.

Thanks
Juergen

-- 
Juergen Daubert  |  mailto:address@hidden  
Korb, Germany    |  http://jue.li/crux




reply via email to

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