madfox
1
awk -F ";" '{if($10>80 && NR>1) print $0 }' txt_file_*
I am using this command to print the lines which has 10th field more then 80 and leaving the first line of the file which is the header.
But this is not working , the first line is is coming as output , please correct me .
thanks
If you have muliple files you should use FNR instead of NR
awk -F ";" '{if($10>80 && FNR>1) print $0 }' txt_file_*
madfox
3
This is not working .. why i dnt know but still i can can see the header coming as output.. please help and thanks