I would like to print filename and then the value of $7 in the cycle. What is wrong please? with '"i"'
for i in r*; do
awk 'FNR == 2 {print '"i"', $7}' r* > out
done
OUTPUT after advise
fdfadfasdfa 0.00775 0.00644 6298
dsafdsfsaf 0.00705 0.00574 14173
dasfdsafdafd 0.00716 0.00597 22948
dafadsafdafsdf 0.00859 0.00679 5210
dafadsfsa 0.00705 0.00576 11098