%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/gawk/examples/lib/
Upload File :
Create Path :
Current File : //usr/share/doc/gawk/examples/lib/join.awk

# join.awk --- join an array into a string
#
# Arnold Robbins, arnold@skeeve.com, 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
}

Zerion Mini Shell 1.0