Menu

#192 Program Error with Gawk-3.1.4

Gawk
closed
GnuWin
None
5
2012-07-26
2004-11-15
Anonymous
No

My scripts refuse to work with gawk 3.1.4. I get
Program Error "gawk.exe has generated errors and will
be closed by Windows..." Previous version works fine. I
narrowed down the problem to this:

{
if ($0 ~ /blah/) print "blah"
if ($0 ~ /[a-z]/) print "bleh"
}

Windows 2000, SP4.

Discussion

  • GnuWin

    GnuWin - 2004-11-15

    Logged In: YES
    user_id=217802

    I cannot reproduce this error. When I copy

    {
    if ($0 ~ /blah/) print "blah"
    if ($0 ~ /[a-z]/) print "bleh"
    }

    to a file test.awk, and execute

    gawk -f test.awk

    there is no error message.
    Could you create a small test file that shows the bug you
    describe?

     
  • GnuWin

    GnuWin - 2007-12-29

    Logged In: YES
    user_id=217802
    Originator: NO

    This bug has been fixed. A new release is available through
    http://gnuwin32.sourceforge.net/

     
Auth0 Logo