forked from extern/nushell
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
28 lines
382 B
Markdown
28 lines
382 B
Markdown
---
|
|
title: length
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Count the number of elements in the input.
|
|
|
|
## Signature
|
|
|
|
```> length --column```
|
|
|
|
## Parameters
|
|
|
|
- `--column`: Show the number of columns in a table
|
|
|
|
## Examples
|
|
|
|
Count the number of entries in a list
|
|
```shell
|
|
> echo [1 2 3 4 5] | length
|
|
```
|
|
|
|
Count the number of columns in the calendar table
|
|
```shell
|
|
> cal | length -c
|
|
```
|