Added Cyg-Win
This commit is contained in:
parent
82cbc206eb
commit
413c315806
10586 changed files with 3806249 additions and 0 deletions
16
Agent-Windows/OGP64/usr/share/awk/processarray.awk
Normal file
16
Agent-Windows/OGP64/usr/share/awk/processarray.awk
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# This file and how to use it are described in the manual.
|
||||
# Therefore, we respectfully advise you to Read The Fine Manual
|
||||
# for more information.
|
||||
|
||||
function process_array(arr, name, process, do_arrays, i, new_name)
|
||||
{
|
||||
for (i in arr) {
|
||||
new_name = (name "[" i "]")
|
||||
if (isarray(arr[i])) {
|
||||
if (do_arrays)
|
||||
@process(new_name, arr[i])
|
||||
process_array(arr[i], new_name, process, do_arrays)
|
||||
} else
|
||||
@process(new_name, arr[i])
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue