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:

inputoutput
nothinglist<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 put the characters in a pipe-separated string

> seq char a e | str join '|'