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

6 lines
122 B
Awk
Raw Normal View History

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