awk/testdir/tt.13a

6 lines
96 B
Plaintext

{ for (i = 1; i <= NF; i++)
x[i] = $i
for (i = 1; i <= NF; i++)
printf "%d %s\n", i, x[i]
}