From: Nick Bowler Date: Sun, 3 Dec 2023 05:21:49 +0000 (-0500) Subject: Avoid local array parameters in awk scripts. X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/commitdiff_plain/da99716d86d4870be554d8412b41a751583da661?hp=da99716d86d4870be554d8412b41a751583da661 Avoid local array parameters in awk scripts. ULTRIX 4.5 nawk appears to not support local array parameters on user- defined functions (it is OK for array arguments passed by the caller). Things seems to work on the first call but on the second call the array is not empty and other weird behaviours occur. Using a global array instead seems OK and avoids the problem. ---