qse/ase/cmd/awk/t39.awk

10 lines
120 B
Awk
Raw Normal View History

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