The bc command has arbitrary precision arithmetic but will create line breaks with \ characters. This is annoying as all get out. Here is the fix:
bc
\
echo 'export BC_LINE_LENGTH=1000000' >> ~/.profile ~/.profile
Last updated 6 years ago