awk/testdir/t.split3

5 lines
110 B
Plaintext
Raw Normal View History

2019-06-23 09:13:57 +00:00
{ a = $0 " " $0 " " $0
if ($1 != "")
n = split (a, x, "[" $1 "]")
print n, x[1], x[2], x[3], x[4] }