Is there a notation for array literals in gawk?
As gawk knows for (var in array) statement, I'm wondering whether I can write down array as a literal, avoiding to create an array first. I mean: In Perl one can write foreach (1, 2, 3) statement ((1, 2, 3) being converted to an array/list). Is there something similar in gawk?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.