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

Publicado em: 07 Setembro 2017
no canal de: 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.)


Nesta página do site você pode assistir ao vídeo on-line 11. Shell Scripting Tutorial for Beginners - Floating point Math Operations (bc Command) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário MyShadowbook Programmer 07 Setembro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 135 vezes e gostou 2 espectadores. Boa visualização!