Zmienna skali z BC
for dir in basil*; do
# In reference region mode, M0.txt = estimated M0 value from arterial blood.
# Use bc to scale the resulting number so it only has 2 digits after the decimal point.
# Critically, bc only works if you DO some math (so here I divide by 1)
echo "${dir}, calib/M0_arterial_blood, $(echo "scale=2; $(cat ${dir}/calib/M0.txt)/1" | bc)"
done
Troubled Tapir