xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/splitarr.awk (revision 3ee4fc2aa6b5136515cc3eed32d3c6ef33e37471)
1*3ee4fc2aSCody Peter MelloBEGIN {
2*3ee4fc2aSCody Peter Mello	a[1] = "elephantie"
3*3ee4fc2aSCody Peter Mello	a[2] = "e"
4*3ee4fc2aSCody Peter Mello	print split(a[1],a,a[2]), a[2], a[3], split(a[2],a,a[2])
5*3ee4fc2aSCody Peter Mello}
6