More on Single Dimensional Array in awk - English

367 visits


Using awk array with file Example: To calculate the HRA for all students as per a formula Scan the elements of an array New variation of "for loop" Delete statement Delete array element (single record) Delete whole array Show the values of ARGC and ARGV Example: ARGC = number of command line arguments supplied +1 ARGV array and ENVIRON array