awk/testdir/t.split4

5 lines
101 B
Plaintext

{ a = $0 " " $0 " " $0 " " 123
n = split (a, x, /[ \t][ \t]*/)
print n, x[1], x[2], x[3], x[4]
}