range for filters> range {flags} (rows)
rows: range of rows to return: Eg) 4..7 (=> from 4 to 7)| input | output | 
|---|---|
| list<any> | list<any> | 
Get the last 2 items
> [0,1,2,3,4,5] |range4..5
╭───┬───╮
│0│4│
│1│5│
╰───┴───╯
Get the last 2 items
> [0,1,2,3,4,5] |range (-2)..
╭───┬───╮
│0│4│
│1│5│
╰───┴───╯
Get the next to last 2 items
> [0,1,2,3,4,5] |range (-3)..-2
╭───┬───╮
│0│3│
│1│4│
╰───┴───╯
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/range.html