| Linux server.clickboxgo.com 3.10.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 Path : /proc/20274/root/usr/share/awk/ |
| Current File : //proc/20274/root/usr/share/awk/join.awk |
# join.awk --- join an array into a string
#
# Arnold Robbins, [email protected], Public Domain
# May 1993
function join(array, start, end, sep, result, i)
{
if (sep == "")
sep = " "
else if (sep == SUBSEP) # magic value
sep = ""
result = array[start]
for (i = start + 1; i <= end; i++)
result = result sep array[i]
return result
}