Added Cyg-Win
This commit is contained in:
parent
82cbc206eb
commit
413c315806
10586 changed files with 3806249 additions and 0 deletions
13
Agent-Windows/OGP64/usr/share/awk/walkarray.awk
Normal file
13
Agent-Windows/OGP64/usr/share/awk/walkarray.awk
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# 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 walk_array(arr, name, i)
|
||||
{
|
||||
for (i in arr) {
|
||||
if (isarray(arr[i]))
|
||||
walk_array(arr[i], (name "[" i "]"))
|
||||
else
|
||||
printf("%s[%s] = %s\n", name, i, arr[i])
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue