bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] Missing parenthesis in example


From: Alto Tom
Subject: [bug-gawk] Missing parenthesis in example
Date: Mon, 29 Oct 2018 10:45:35 -0700

This is a doc-bug
In both online and info related to Arrays-of-Arrays

https://www.gnu.org/software/gawk/manual/html_node/Arrays-of-Arrays.html#Arrays-of-Arrays

the example

for (i in array) {
    if (isarray(array[i]) {
        for (j in array[i]) {
            print array[i][j]
        }
    }
    else
        print array[i]
}

is missing a ")" after isarray(array[i])

Alfredo



reply via email to

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