awk/bugs-fixed/split-fs-from-array.awk

6 lines
122 B
Awk

BEGIN {
a[1] = "elephantie"
a[2] = "e"
print split(a[1],a,a[2]), a[2], a[3], split(a[2],a,a[2])
}