Seq
seq¶
Step-in replacement for 'seq' on systems that lack it. Supports the three standard forms: LAST, FIRST LAST, and FIRST INCR LAST. No format options are supported; this is a basic numeric sequence generator.
Arguments¶
- $1 (int): LAST (or FIRST when two args are given, or FIRST with INCR and LAST)
- $2 (int): Optional: LAST (two-arg form) or INCR (three-arg form)
- $3 (int): Optional: LAST (three-arg form)
Exit codes¶
- 0: Always
Output on stdout¶
- One integer per line