bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] Typo's in gawk 4.0.0 manual


From: Radoulov, Dimitre
Subject: [bug-gawk] Typo's in gawk 4.0.0 manual
Date: Fri, 26 Aug 2011 22:03:46 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0

Hi,
If I'm not missing something, this is a typo (page 215 of the pdf version):

str_ind_asc

should be

ind_str_asc

11.2.1.2 Controlling Array Scanning Order

[...]

For example:
$ gawk ’BEGIN {
> a[4] = 4
> a[3] = 3
> for (i in a)
> print i, a[i]
> }’
a 4 4
a 3 3
$ gawk ’BEGIN {
> PROCINFO["sorted_in"] = "@str_ind_asc"
> a[4] = 4
> a[3] = 3
> for (i in a)
> print i, a[i]
> }’
a 3 3
a 4 4


Regards
Dimitre




reply via email to

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