cat foo | while read i j; do echo `echo "scale=20;${i} - 2" | bc` ${j}; done