Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-22 00:22:44 +00:00
parent b4c3b9f9ca
commit 2e2b744bba
8 changed files with 17 additions and 17 deletions

View File

@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Calculate an expression:
`bc --expression='{{5 / 3}}'`
`bc --expression '{{5 / 3}}'`
- Execute a script:
@@ -27,8 +27,8 @@ source: https://github.com/tldr-pages/tldr.git
- Calculate an expression with the specified scale:
`bc --expression='scale = {{10}}; {{5 / 3}}'`
`bc --expression '{{scale = 10; 5 / 3}}'`
- Calculate a sine/cosine/arctangent/natural logarithm/exponential function using `mathlib`:
`bc --mathlib --expression='{{s|c|a|l|e}}({{1}})'`
`bc --mathlib --expression '{{s|c|a|l|e}}({{1}})'`