awk/testdir/t.split3

5 lines
110 B
Plaintext
Raw Normal View History

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