mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:22:09 +02:00
calc: set help example as lastest example (#8149)
This commit is contained in:
parent
91cd7a0be1
commit
0039248eb4
2 changed files with 53 additions and 5 deletions
|
@ -3,10 +3,34 @@
|
|||
> Ein interaktiver Rechner im Terminal mit beliebiger Genauigkeit.
|
||||
> Weitere Informationen: <https://github.com/lcn2/calc>.
|
||||
|
||||
- Starte calc im interaktiven Modus:
|
||||
- Starte `calc` im interaktiven Modus:
|
||||
|
||||
`calc`
|
||||
|
||||
- Führe eine nicht-interaktive Berechnung durch:
|
||||
|
||||
`calc -p '{{85 * (36 / 4)}}'`
|
||||
`calc '{{85 * (36 / 4)}}'`
|
||||
|
||||
- Führe eine Berechnung durch ohne die Ausgabe zu formatieren (für das Benutzen mit Pipes):
|
||||
|
||||
`calc -p '{{4/3 * pi() * 5^3}}'`
|
||||
|
||||
- Führe eine Berechnung durch und wechsle dann in den [i]nteraktiven Modus:
|
||||
|
||||
`calc -i '{{sqrt(2)}}'`
|
||||
|
||||
- Starte `calc` in einem bestimmten Berechtigungs[m]odus (0 bis 7, standardmäßig 7):
|
||||
|
||||
`calc -m {{mode}}`
|
||||
|
||||
- Öffne eine Einführung zu `calc`:
|
||||
|
||||
`calc help intro`
|
||||
|
||||
- Öffne eine Übersicht von `calc`:
|
||||
|
||||
`calc help overview`
|
||||
|
||||
- Öffne die Bedienungsanleitung von `calc`:
|
||||
|
||||
`calc help`
|
||||
|
|
|
@ -1,12 +1,36 @@
|
|||
# calc
|
||||
|
||||
> An interactive arbitrary-precision calculator on the terminal.
|
||||
> An interactive arbitrary-precision calculator in the terminal.
|
||||
> More information: <https://github.com/lcn2/calc>.
|
||||
|
||||
- Start calc in interactive mode:
|
||||
- Start `calc` in interactive mode:
|
||||
|
||||
`calc`
|
||||
|
||||
- Perform a calculation in non-interactive mode:
|
||||
|
||||
`calc -p '{{85 * (36 / 4)}}'`
|
||||
`calc '{{85 * (36 / 4)}}'`
|
||||
|
||||
- Perform a calculation without any output formatting (for use with pipes):
|
||||
|
||||
`calc -p '{{4/3 * pi() * 5^3}}'`
|
||||
|
||||
- Perform a calculation and then switch to [i]nteractive mode:
|
||||
|
||||
`calc -i '{{sqrt(2)}}'`
|
||||
|
||||
- Start `calc` in a specific permission [m]ode (0 to 7, defaults to 7):
|
||||
|
||||
`calc -m {{mode}}`
|
||||
|
||||
- View an introduction to `calc`:
|
||||
|
||||
`calc help intro`
|
||||
|
||||
- View an overview of `calc`:
|
||||
|
||||
`calc help overview`
|
||||
|
||||
- Open the `calc` manual:
|
||||
|
||||
`calc help`
|
||||
|
|
Loading…
Add table
Reference in a new issue