qalc: add page (#13297)

* qalc: add page

* Fix example description

* Update pages/common/qalc.md

Co-authored-by: spageektti <git@spageektti.cc>

---------

Co-authored-by: spageektti <git@spageektti.cc>
pull/28/head
Fazle Arefin 2024-07-25 02:39:16 +10:00 committed by GitHub
parent eba2c03de3
commit d730060060
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 29 additions and 0 deletions

29
pages/common/qalc.md Normal file
View File

@ -0,0 +1,29 @@
# qalc
> Powerful and easy to use command-line calculator.
> See also: `bc`.
> More information: <https://qalculate.github.io/manual/qalc.html>.
- Launch in [i]nteractive mode:
`qalc {{--interactive}}`
- Launch in [t]erse mode (print the results only):
`qalc --terse`
- Update currency [e]xchange rates:
`qalc --exrates`
- Perform calculations non-interactively:
`qalc {{66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...}}`
- List all supported functions/prefixes/units/variables:
`qalc --{{list-functions|list-prefixes|list-units|list-variables}}`
- Execute commands from a [f]ile:
`qalc --file {{path/to/file}}`