commit: 91138a4b08953c3363c9e5cc1fb6678c8b8a6b11
parent: 776edfd0eb4a660a00edcce7171b8b46cf31cbf0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 5 Mar 2019 23:40:57 +0100
man1x/seq.1x: New manpage
Diffstat:
A | man1x/seq.1x | 71 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 71 insertions(+), 0 deletions(-)
diff --git a/man1x/seq.1x b/man1x/seq.1x
@@ -0,0 +1,71 @@
+.Dd 2019-03-05
+.Dt SEQ 1x
+.Os
+.Sh PROLOG
+This manual page is part of
+.Lk https://hacktivis.me/git/cross-unix-documentation "Cross-Unix Documentation"
+which is an attempt to provide documentation of similarities and (noteworthy) differencies between Unix-like systems. To be used as an addition to the POSIX standard.
+.Sh NAME
+.Nm seq
+.Nd print a sequence of numbers
+.Sh SYNOPSIS
+.Nm
+.Op Fl w
+.Op Fl f Ar format
+.Op Fl s Ar separator
+[first [steps]] last
+.Sh DESCRIPTION
+.Nm
+prints a sequence of numbers, one per line (default), from
+.Ar first
+(default 1), to near
+.Ar last
+as possible, in increments of
+.Ar steps
+(default 1). When
+.Ar first
+is larger than
+.Ar last ,
+the default
+.Ar step
+is -1.
+.Pp
+All numbers are interpreted as floating point.
+.Bl -tag -width Ds
+.It Fl f Ar format
+Use a
+.Xr printf 3
+style
+.Ar format
+to print each number.
+it can contain character escape sequences in backslash notation as defined in
+.St -ansiC-89 .
+The default is %g. This flag is absent in BusyBox.
+.It Fl s Ar separator
+Use
+.Ar separator
+to separate numbers, it can contain character escape sequences in backslash notation as defined in
+.St -ansiC-89 .
+The default is \en.
+.It Fl w
+equalize width by zero-padding
+.Sh HISTORY
+From
+.Nx
+manpage: The
+.Nm
+command first appeared in
+.At v8 .
+A
+.Nm
+command appeared in
+.Nx 3.0 .
+This command was based on the command of the same name in Plan 9 From Bell Labs and the GNU coreutils.
+The GNU
+.Nm
+command first appeared in the 1.13 shell utilities release.
+.Sh SOURCE
+.Nx 8.0 ,
+GNU coreutils 8.30, BusyBox 1.30.1.
+.Sh AUTHORS
+.An Haelwenn (lanodan) Monnier Aq Mt contact+c-u-d@hacktivis.me