seq.1 (1096B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2024-03-14
- .Dt SEQ 1
- .Os
- .Sh NAME
- .Nm seq
- .Nd print a sequence of numbers
- .Sh SYNOPSIS
- .Nm
- .Op Fl w
- .Op Fl s Ar separator
- .Op Fl t Ar terminator
- .Op Ar first Op Ar step
- .Ar last
- .Sh DESCRIPTION
- Prints out a list of floating numbers between
- .Ar first
- (defaults to 1)
- and
- .Ar last
- in increments of
- .Ar step
- (defaults to 1).
- .Sh OPTIONS
- .Bl -tag -width Ds
- .It Fl w
- Use the longest width between either the
- .Ar first
- or the
- .Ar last
- number of the sequence.
- Should match the longest number in the sequence reasonably well.
- .It Fl s Ar separator
- Set the string used between each number (default: "\\n" aka newline)
- .It Fl t Ar terminator
- Set the final string used at the end of the sequence (default: "\\n" aka newline)
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh HISTORY
- A
- .Nm
- utility first appeared in Plan9 and GNU sh-utils 1.12q (since merged in coreutils).
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me