Usando awk
-
com
print
awk -F. '{print "."substr(,1,2)}' filename
ou
-
com
printf
awk -F. '{printf "%0.2f\n","."substr(,1,2)}' filename
Exemplo
$ awk -F. '{print "."substr(,1,2)}' foo
0.74
77.65
$ awk -F. '{printf "%0.2f\n","."substr(,1,2)}' foo
0.74
77.65
$ cat foo
0.748
77.657