mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 00:19:39 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
23 lines
328 B
Markdown
23 lines
328 B
Markdown
# math sum
|
|
Finds the sum of a list of numbers or tables
|
|
|
|
## Usage
|
|
```shell
|
|
> math sum {flags}
|
|
```
|
|
|
|
## Flags
|
|
* -h, --help: Display this help message
|
|
|
|
## Examples
|
|
Sum a list of numbers
|
|
```shell
|
|
> echo [1 2 3] | math sum
|
|
```
|
|
|
|
Get the disk usage for the current directory
|
|
```shell
|
|
> ls --all --du | get size | math sum
|
|
```
|
|
|