[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
3.1.0 regression
From: |
James Troup |
Subject: |
3.1.0 regression |
Date: |
Wed, 04 Jun 2003 17:53:56 +0100 |
User-agent: |
Gnus/5.090017 (Oort Gnus v0.17) Emacs/20.7 (gnu/linux) |
Hi Aharon,
This bug report comes from the Debian bug tracking system. You can
view the full log at:
http://bugs.debian.org/188345
Like my other bug, this is a regression from 3.1.0 and I've reproduced
this problem with 3.1.2d.
"Nikita V. Youshchenko" <address@hidden> writes:
| Package: gawk
| Version: 1:3.1.2-2
| Severity: normal
| Tags: sid
|
| After upgrading gawk from woody to sid, I found one of my scripts not
| working. I explored this a little and found minimal script to reproduce
| the problem.
|
| File bug.awk is the following:
|
| BEGIN {
| WI_total = 0
| }
| {
| WI_total++
| {
| split ( $1, sws, "_" )
| a = sws[1]
| }
| print(sws[1])
| print(a)
| }
|
| The second print should output the same what first print poutputs, but
| with gawk 3.1.2-2 it outputs nothing:
| > echo a_b | gawk -f bug.awk
| a
|
| >
|
| With gawk from stable I get what expexted:
| > echo a_b | gawk -f bug.awk
| a
| a
| >
|
| If I remove "WI_total++" line, bug disapperas
|
| -- System Information:
| Debian Release: 3.0
| Architecture: i386
| Kernel: Linux zigzag 2.4.19 16:49:13 MSK 2003 i686
| Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R
|
| Versions of packages gawk depends on:
| ii libc6 2.3.1-16 GNU C Library: Shared libraries
an
|
| -- no debconf information
--
James
- 3.1.0 regression,
James Troup <=