bc - A command line calculator found most Unix systems. The calculator can be used either interactively or non interactively..
On this page we only give you a short introduction with a few examples. We encourage you to read the manual (
"..bc is typically used as either a mathematical scripting language or as an interactive mathematical shell." bc
$ bc bc 1.06.95 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 3 + 3 6 quit
$ echo "3+3" | bc 6