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

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

RE: Gawk Bug


From: Richard Patchet
Subject: RE: Gawk Bug
Date: Tue, 8 Oct 2002 10:19:53 -0500

The error below is from version 3.0.3. I also accidentally cc:'d the bug-list instead of Mr.. Robbins. My apologies.
 
Richard Patchet
A4 Networks
www.a4networks.com
-----Original Message-----
From: Richard Patchet [mailto:address@hidden
Sent: Tuesday, October 08, 2002 10:10 AM
To: 'address@hidden'
Cc: 'address@hidden'
Subject: Gawk Bug

Invoking gawk as follows:
 
    gawk --re-interval -f \dos\gawk-bug.awk 4010_segments.txt > gawk_bug.txt
 
produces repeatable errors.
 
First instance:
 
    <xs:complexType name="sxC2">
    <xs:sequence>
    00 104 110|00 1|4 |10
    <xs:element name="C200 1" type="dx004 " minOccurs="0" otl:name=""/>
Second instance:
 
    <xs:complexType name="sxE30">
    <xs:sequence>
    16 Code List Reference AN 1|16 C|de List|Reference 
    <xs:element name="E3016 C" type="dxList" minOccurs="0" otl:name=""/>
Third instance:
 
    <xs:complexType name="sxSV1">
    <xs:sequence>
    10 1340 Multiple Procedu|10 1340 Mult|ple Pro|edu
    <xs:element name="SV110 1340 Mult" type="dx Pro" minOccurs="0" otl:name=""/>
Reviewing the gawk code, the program produces XML (those beginning with "<") with "<xs:element" lines prededed by printing $0, $1, $2, and $3 separated by vertical bars.
 
Reviewing the source file, 4010_segments.txt, will show that the errant lines actually appear some 8-10 lines _further_ into the file than the lines printed immediately thereafter. Very anomalous behavior.
 
 
Richard Patchet
A4 Networks
101 W McDermott Dr
Allen, TX 75013
214.547.8020
www.a4networks.com
 

reply via email to

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