From d7300600600797b0e6d7fb07d487f19bc6c27753 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Thu, 25 Jul 2024 02:39:16 +1000 Subject: [PATCH] qalc: add page (#13297) * qalc: add page * Fix example description * Update pages/common/qalc.md Co-authored-by: spageektti --------- Co-authored-by: spageektti --- pages/common/qalc.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/qalc.md diff --git a/pages/common/qalc.md b/pages/common/qalc.md new file mode 100644 index 000000000..faa750e3e --- /dev/null +++ b/pages/common/qalc.md @@ -0,0 +1,29 @@ +# qalc + +> Powerful and easy to use command-line calculator. +> See also: `bc`. +> More information: . + +- 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}}`