lines for filters> lines {flags}
--skip-empty, -s: skip empty lines| input | output |
|---|---|
| any | list<string> |
Split multi-line string into lines
>$"two\nlines"|lines
╭───┬───────╮
│0│two│
│1│lines│
╰───┴───────╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/lines.html