stuartheath wrote:i dont suppose someone could break that script down to me so I can actually make sense of what its actually doing?

The time command measures how long it takes to complete the rest of the line.
The echo command, combined with the Pipe, "|" feeds the line of BC script into the
bc -l starts the bc environment with the standard maths library loaded
I've never heard of BC before either. It's a maths language, rather than just a calculator.
The script here just contains the line :
scale=2011; 16*a(1/5)-4*a(1/239)
which I'm assuming creates a FOR loop of values form 1 to 2011, and runs the arithmetic each time?
EDIT: I started bc in interactive mode (bc -li) and ran that command. After thinking about it for a few seconds, it printed what (rather aptly), looks like an approximation of
pi, presumably to 2011 places?
EDIT 2: The formula used above is Machin's Formula (hence the wiki link!)