xref: /netbsd-src/external/historical/nawk/dist/testdir/t.split3 (revision 6f2cbaf6070522c7a121cd0dcb79cf06aa3606b1)
1{ a = $0 " " $0 " " $0
2  if ($1 != "")
3      n = split (a, x, "[" $1 "]")
4  print n, x[1], x[2], x[3], x[4] }
5