xref: /freebsd/contrib/one-true-awk/testdir/t.split3 (revision 35c87c070a2d04f06c56578b0a4b2e9c13f62be5)
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