SEQ(1) General Commands Manual SEQ(1)

seqprint a sequence of numbers

seq [-w] [-s separator] [-t terminator] [first [step]] last

Prints out a list of floating numbers between first (defaults to 1) and last in increments of step (defaults to 1).

Use the longest width between either the first or the last number of the sequence. Should match the longest number in the sequence reasonably well.
separator
Set the string used between each number (default: "\n" aka newline)
terminator
Set the final string used at the end of the sequence (default: "\n" aka newline)

The seq utility exits 0 on success, and >0 if an error occurs.

A seq utility first appeared in Plan9 and GNU sh-utils 1.12q (since merged in coreutils).

Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>

2024-03-14 Linux 6.6.67-gentoo-x86_64