mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 08:48:51 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
25
docs/commands/range.md
Normal file
25
docs/commands/range.md
Normal file
@ -0,0 +1,25 @@
|
||||
# range
|
||||
Return only the selected rows.
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> range <rows> {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* `<rows>` range of rows to return: Eg) 4..7 (=> from 4 to 7)
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
|
||||
## Examples
|
||||
Return rows 1 through 3
|
||||
```shell
|
||||
> echo [1 2 3 4 5] | range 1..3
|
||||
```
|
||||
|
||||
Return the third row from the end, through to the end
|
||||
```shell
|
||||
> echo [1 2 3 4 5] | range (-3..)
|
||||
```
|
||||
|
Reference in New Issue
Block a user