aboutsummaryrefslogtreecommitdiff
path: root/man/seq.1
diff options
context:
space:
mode:
authorSoccera1 <[email protected]>2026-07-28 16:08:14 +1000
committerSoccera1 <[email protected]>2026-07-28 16:08:48 +1000
commit9846f087eb28bf11df740675ef487657ded39b69 (patch)
treee91dbd19b524f9432da6bcb86b1fc193e0d02e26 /man/seq.1
parent7fa396c9ef22b32a0b05e94aaa0266dd3e7515f8 (diff)
parent6a2f098e72e71437154ec00506e8e736aa8e1026 (diff)
downloadbnu-9846f087eb28bf11df740675ef487657ded39b69.tar.gz
bnu-9846f087eb28bf11df740675ef487657ded39b69.zip
Merge branch 'master' into refactor/single-call-commandsrefactor/single-call-commands
# Conflicts: # README.md
Diffstat (limited to 'man/seq.1')
-rw-r--r--man/seq.169
1 files changed, 69 insertions, 0 deletions
diff --git a/man/seq.1 b/man/seq.1
new file mode 100644
index 0000000..e3c1fa0
--- /dev/null
+++ b/man/seq.1
@@ -0,0 +1,69 @@
+.\" Adapted for BNU from the GNU Coreutils 9.11 manual page; see doc/README.md.
+.TH SEQ "1" "2026-07-28" "BNU 9.11" "BNU Commands"
+.SH NAME
+seq \- print a sequence of numbers
+.SH SYNOPSIS
+.B seq
+[\fI\,OPTION\/\fR]... \fI\,LAST\/\fR
+.br
+.B seq
+[\fI\,OPTION\/\fR]... \fI\,FIRST LAST\/\fR
+.br
+.B seq
+[\fI\,OPTION\/\fR]... \fI\,FIRST INCREMENT LAST\/\fR
+.SH DESCRIPTION
+.\" This page is derived from GNU Coreutils documentation.
+This page documents BNU, an independent Bun implementation compatible with
+GNU Coreutils 9.11.
+.PP
+Print numbers from FIRST to LAST, in steps of INCREMENT.
+.PP
+Mandatory arguments to long options are mandatory for short options too.
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-f'\fB\-f, \-\-format=\,FORMAT\fP\X'tty: link'\/\fR
+use printf style floating\-point FORMAT
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-s'\fB\-s, \-\-separator=\,STRING\fP\X'tty: link'\/\fR
+use STRING to separate numbers (default: \en)
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-w'\fB\-w, \-\-equal\-width\fP\X'tty: link'
+equalize width by padding with leading zeroes
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/seq#seq--help'\fB\-\-help\fP\X'tty: link'
+display this help and exit
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/seq#seq--version'\fB\-\-version\fP\X'tty: link'
+output version information and exit
+.PP
+If FIRST or INCREMENT is omitted, it defaults to 1. That is, an
+omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST.
+The sequence of numbers ends when the sum of the current number and
+INCREMENT would become greater than LAST.
+FIRST, INCREMENT, and LAST are interpreted as floating point values.
+INCREMENT is usually positive if FIRST is smaller than LAST, and
+INCREMENT is usually negative if FIRST is greater than LAST.
+INCREMENT must not be 0; none of FIRST, INCREMENT and LAST may be NaN.
+FORMAT must be suitable for printing one argument of type 'double';
+it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point
+decimal numbers with maximum precision PREC, and to %g otherwise.
+.SH AUTHORS
+Upstream GNU Coreutils documentation authors:
+Written by Ulrich Drepper.
+.br
+Adapted for BNU; the BNU implementation is independent.
+.SH "REPORTING BUGS"
+Report BNU bugs at <https://github.com/Soccera1/bnu/issues>.
+.br
+For upstream GNU Coreutils, see <https://www.gnu.org/software/coreutils/>.
+.SH COPYRIGHT
+Copyright \(co 2026 Free Software Foundation, Inc.
+.br
+This manual page was adapted for BNU in 2026.
+License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
+.br
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+.SH "SEE ALSO"
+Upstream documentation <https://www.gnu.org/software/coreutils/seq>
+.br
+BNU documentation is available locally via: info \(aq(bnu) seq invocation\(aq