I have one document, and this document has several columns, like this:
If I use awk to know the total number of fields, knowing the separator character is
, the result is: 13
Now, I want to get the field number for Flag10, the result should be: 10
How can I do this with awk?