11. Shell Scripting Tutorial for Beginners - Floating point Math Operations (bc Command)

Published: 07 September 2017
on channel: MyShadowbook Programmer
135
2

bc, for the basic calculator (often referred to as bench calculator), is "an arbitrary-precision calculator language" with syntax similar to the C programming language. bc is typically used as either a mathematical scripting language or as an interactive mathematical shell.

bc [ -hlwsqv ] [long-options] [ file ... ]

bc is a language that supports arbitrary precision numbers with interactive execution of statements. There are some similarities in the syntax to the C programming language. A standard math library is available by command line option. If requested, the math library is defined before processing any files. bc starts by processing code from all the files listed on the command line in the order listed. After all, files have been processed, bc reads from the standard input. All code is executed as it is read. (If a file contains a command to halt the processor, bc will never read from the standard input.)


On this page of the site you can watch the video online 11. Shell Scripting Tutorial for Beginners - Floating point Math Operations (bc Command) with a duration of hours minute second in good quality, which was uploaded by the user MyShadowbook Programmer 07 September 2017, share the link with friends and acquaintances, this video has already been watched 135 times on youtube and it was liked by 2 viewers. Enjoy your viewing!