bash file for calculate accuracy