use NF-1 in gawk for type