bc: add french translation (#8589)

pull/1/head
Alexandre ZANNI 2022-10-01 14:53:22 +02:00 committed by GitHub
parent c6d0241b9f
commit 3581b84499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
pages.fr/common/bc.md Normal file
View File

@ -0,0 +1,29 @@
# bc
> Un langage de calcul de précision arbitraire.
> Voir aussi : `dc`.
> Plus d'informations : <https://manned.org/man/bc.1>.
- Démarre une session interactive :
`bc`
- Démarre une session interactive avec la bibliothèque mathématique standard activée :
`bc --mathlib`
- Calcule une expression :
`echo '{{5 / 3}}' | bc`
- Exécute un script :
`bc {{chemin/vers/le/script.bc}}`
- Calcule une expression avec l'échelle spécifiée :
`echo 'scale = {{10}}; {{5 / 3}}' | bc`
- Calcule une fonction sinus/cosinus/arctangente/logarithme naturel/exponentielle en utilisant `mathlib` :
`echo '{{s|c|a|l|e}}({{1}})' | bc --mathlib`