manpagez: man pages & more
info gawk
Home | html | info | man

gawk: Assigning Elements

 
 8.1.3 Assigning Array Elements
 ------------------------------
 
 Array elements can be assigned values just like 'awk' variables:
 
      ARRAY[INDEX-EXPRESSION] = VALUE
 
 ARRAY is the name of an array.  The expression INDEX-EXPRESSION is the
 index of the element of the array that is assigned a value.  The
 expression VALUE is the value to assign to that element of the array.
 
© manpagez.com 2000-2018
Individual documents may contain additional copyright information.