kash@rama ~/src $ cat bcpi.sh #!/bin/sh time bc -q -l << EOF scale=$1 4*a(1) quit EOF exit 0