Hello,
my english seems to be bad (i'm french), so i don't understand the $NR var.
NR: The number of fields in the current record
echo "test toto tata" |awk '{print "number of fields: "$NR}'
number of fields: test
there is 3 fields, the results would be '3', no ?
please, help me to understand.
my english seems to be bad (i'm french), so i don't understand the $NR var.
NR: The number of fields in the current record
echo "test toto tata" |awk '{print "number of fields: "$NR}'
number of fields: test
there is 3 fields, the results would be '3', no ?
please, help me to understand.