I have this file, pepe:
1.2345 2.3456 3.4567
4.5678 5.6789 6.8905
I want to print the value located at the second row and the third column:
6.8905
What I have tried is:
awk 'NR==2,{print $3}'
But, it is not working
I have this file, pepe:
1.2345 2.3456 3.4567
4.5678 5.6789 6.8905
I want to print the value located at the second row and the third column:
6.8905
What I have tried is:
awk 'NR==2,{print $3}'
But, it is not working
You'll need:
Where
FNR == 2matches the second row for which we print the third column:{print $3 }