logo

utils-std

Collection of commonly available Unix tools
commit: 9c1da8724df4dde8e0c7adbaa547a4b631c9a58b
parent cba1ca39fa8088519928b2dbc0ae7d911fde20b5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 16 Mar 2024 20:30:56 +0100

cmd/seq.1: new

Diffstat:

Acmd/seq.142++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+), 0 deletions(-)

diff --git a/cmd/seq.1 b/cmd/seq.1 @@ -0,0 +1,42 @@ +.\" 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 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) +.El +.Sh EXIT STATUS +.Ex -std +.Sh STANDARDS +None known. +.Sh AUTHORS +.An Haelwenn (lanodan) Monnier Aq Mt contact@hacktivis.me