qse/ase/test/awk/t37.awk

7 lines
93 B
Awk

BEGIN { FS=" "; }
{
print "NF=" NF;
for (i = 0; i < NF; i++) print i " [" $(i+1) "]";
}