seq char for generators
Print a sequence of ASCII characters.
Signature
> seq char {flags} (start) (end)
Parameters
-
start: Start of character sequence (inclusive). -
end: End of character sequence (inclusive).
Input/output types:
| input | output |
|---|---|
| nothing | list<string> |
Examples
sequence a to e
> seq char a e ╭───┬───╮ │ 0 │ a │ │ 1 │ b │ │ 2 │ c │ │ 3 │ d │ │ 4 │ e │ ╰───┴───╯
Sequence a to e, and join the characters with a pipe
> seq char a e | str join '|'
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/seq_char.html