Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
processarray.awk17 linesDownload Raw Back to awk
1# This file and how to use it are described in the manual.2# Therefore, we respectfully advise you to Read The Fine Manual3# for more information.4 5function process_array(arr, name, process, do_arrays,   i, new_name)6{7    for (i in arr) {8        new_name = (name "[" i "]")9        if (isarray(arr[i])) {10            if (do_arrays)11                @process(new_name, arr[i])12            process_array(arr[i], new_name, process, do_arrays)13        } else14            @process(new_name, arr[i])15    }16}17 
codekingpro/portable-devtools · Team Ai