[Top][All Lists]

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

Re: [bug-gawk] 2 questions

From: Denis Shirokov
Subject: Re: [bug-gawk] 2 questions
Date: Mon, 5 Nov 2012 13:27:58 +0200

Hi Eli,

I have attached file `BIN.piz' - it's a ZIP-archive(please rename file
extension to .zip and extract it).
This archive contain GAWK.EXE version 4.0.0 and gawk-source file
repro.gwk. Running this script by this GAWK will reproduce the

Actually i do not remeber from where i was get this GAWK but i think
it was some gnu sites. But i can be wrong.

I don't think that it is OS-dependent problem. I was seeing this issue
in GAWK 3.17b - this was at x32 OS system(WinXP and Win7).

Is there a way to request some useful feature in gawk? It's about
special array which will accessible  in function body. It should be
autodefined from 1 to n - and contain all input parameters given
function when its calling from somewhere. for example:

func abc(p0,p1,p2) {
# ARRAY[1]==10; ARRAY[2]==11; !(3 in ARRAY) - 3 not present in ARRAY
because only 2 parameters given
# ARRAY[0]==2 (two parameters given)
# ARRAY[""]=="abc" (function name itself)

... }


2012/11/5, Denis Shirokov <address@hidden>:
> 2012/11/3, Eli Zaretskii <address@hidden>:
>>> From: Aharon Robbins <address@hidden>
>>> Date: Mon, 29 Oct 2012 22:53:18 +0200
>>> Cc: address@hidden
>>> I think the problem is the version of gawk you're using. I cannot
>>> reproduce
>>> any of these crashes on Linux.  You should try Eli Zaretskii's port from
>>> http://sourceforge.net/projects/ezwinports/files/
>>> For use on Windows outside of cygwin, that is the recommended version.
>> The latest Gawk version is 4.0.1, not 4.0.0.  But I don't get a crash
>> even in 4.0.0, so I'm unsure what could be the reason for it crashing
>> for Denis.
>> Denis, how did you build your Gawk, or if you didn't build it
>> yourself, where did you get the binary?  Does the binary on the
>> ezwinports site above work for you, or does it crash as well?
>> One possibility is that this is something specific to Windows 7 or to
>> 64-bit Windows.  If the ezwinports binary crashes for you, I will try
>> reproducing the problem on a 64-bit system.

Attachment: BIN.piz
Description: Zip compressed data

reply via email to

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