[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in gawk 3.1.5
From: |
Alfred P. Steffens Jr. |
Subject: |
bug in gawk 3.1.5 |
Date: |
Mon, 03 Oct 2005 19:23:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050905 |
GAWK 3.1.5 produced a fatal error on the following script line:
if (match(field, /([0-9\.]+)([&@])([+-0-9\.\[\]!*qho])*/)) {
}
something about "bad range end". This code works fine with GAWK 3.1.3.
The code is meant to parse symbols of the form
&
&+5
&+[!]
&+[*]
&+[q]
&+[h]
&+[o]
3.1&+[6!]
9&+[4.6*]
1.3&+[2.01q]
..........
or with a @ in place of the &.
@
@+5
@+[!]
@+[*]
@+[q]
@+[h]
@+[o]
address@hidden
address@hidden
address@hidden
The idea is a "gain" number operating on a & or a @ and an "offset"
that is either a number or a symbolic expression withing square brackets
consisting of a sub-gain operating on a "!" or "*" or "q" or "h" or "o".
Operating system: Slackware Linux rev 10.2 (kernel 2.4.31).
GCC: It was a binary, so I don't know. Probably 3.3.6.
Al Steffens
address@hidden
- bug in gawk 3.1.5,
Alfred P. Steffens Jr. <=