Options (3)
-s, --separatorbooleanSeparate the output with a space instead of a newline
Example:
seq {{[-s|--separator]}} " " {{5 3 20}}-f, --formatbooleanFormat output width to a minimum of 4 digits padding with zeros as necessary
Example:
seq {{[-f|--format]}} "%04g" {{5 3 20}}-w, --equal-widthbooleanPrint all numbers with the same width
Example:
seq {{[-w|--equal-width]}} {{5 3 20}}Examples (6)
Print a sequence from 1 to 10
seq 10Print a sequence from 10 to 20
seq 10 20Print every 3rd number from 5 to 20
seq 5 3 20Separate the output with a space instead of a newline
seq [-s|--separator] " " 5 3 20Format output width to a minimum of 4 digits padding with zeros as necessary
seq [-f|--format] "%04g" 5 3 20Print all numbers with the same width
seq [-w|--equal-width] 5 3 20made by @shridhargupta | data from tldr-pages