111 lines
3.4 KiB
HTML
111 lines
3.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SEQ</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SEQ</H1>
|
|
Section: User Commands (1)<BR>Updated: September 2019<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
seq - print a sequence of numbers
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>seq</B>
|
|
|
|
[<I>,OPTION/</I>]... <I>,LAST/</I>
|
|
<BR>
|
|
|
|
<B>seq</B>
|
|
|
|
[<I>,OPTION/</I>]... <I>,FIRST LAST/</I>
|
|
<BR>
|
|
|
|
<B>seq</B>
|
|
|
|
[<I>,OPTION/</I>]... <I>,FIRST INCREMENT LAST/</I>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
Print numbers from FIRST to LAST, in steps of INCREMENT.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-f</B>, <B>--format</B>=<I>,FORMAT/</I><DD>
|
|
use printf style floating-point FORMAT
|
|
<DT id="2"><B>-s</B>, <B>--separator</B>=<I>,STRING/</I><DD>
|
|
use STRING to separate numbers (default: \n)
|
|
<DT id="3"><B>-w</B>, <B>--equal-width</B><DD>
|
|
equalize width by padding with leading zeroes
|
|
<DT id="4"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="5"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<P>
|
|
|
|
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.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Ulrich Drepper.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
GNU coreutils online help: <<A HREF="https://www.gnu.org/software/coreutils/">https://www.gnu.org/software/coreutils/</A>>
|
|
<BR>
|
|
|
|
Report seq translation bugs to <<A HREF="https://translationproject.org/team/">https://translationproject.org/team/</A>>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2018 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>>.
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/seq">https://www.gnu.org/software/coreutils/seq</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) seq invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="9"><A HREF="#lbAE">AUTHOR</A><DD>
|
|
<DT id="10"><A HREF="#lbAF">REPORTING BUGS</A><DD>
|
|
<DT id="11"><A HREF="#lbAG">COPYRIGHT</A><DD>
|
|
<DT id="12"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:26 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|