[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] asort, sorted_in
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] asort, sorted_in |
Date: |
Fri, 16 Aug 2013 12:05:20 +0300 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
Hi.
Davide's answer is exactly right. This is a new feature, not in 3.1.6
which is from 2007 (r-e-a-l-l-y o-l-d). You should move to 4.1 which
is the current version.
Arnold
> On Thu, 15 Aug 2013 18:40:27 +0200 (CEST), Vincent Fournier
> <address@hidden> wrote:
>
> > bug > gawk does not accept a third argument for the comparison function.
> >
> > gawk version : GNU Awk 3.1.6
> > windows : 64bit s
> > error : fatal: 3 is invalid as number of arguments for asort
> >
> > Bug : The alternative way (PROCINFO["sorted_in"] = "mysortfunction") is
> > not taken into account .
>
> For this to work you need version 4.x, which is available for windows here:
>
> http://sourceforge.net/projects/ezwinports/files/