diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-05-05 16:41:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-05-05 16:41:36 +0000 |
commit | dda18efbf37e2def7490bb7865d41b1560d8412c (patch) | |
tree | 183e963df6417e3620440e07954cd50a3be45811 /doc/s6-seq.html | |
parent | c7f0abb049cbd58704545ee94ec6e6aa40d00f0a (diff) | |
download | s6-portable-utils-dda18efbf37e2def7490bb7865d41b1560d8412c.tar.xz |
- add s6-seqv2.0.5.0
- rc for 2.0.5.0
Diffstat (limited to 'doc/s6-seq.html')
-rw-r--r-- | doc/s6-seq.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/doc/s6-seq.html b/doc/s6-seq.html new file mode 100644 index 0000000..68227ad --- /dev/null +++ b/doc/s6-seq.html @@ -0,0 +1,66 @@ +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="Content-Language" content="en" /> + <title>s6-portable-utils: the s6-seq program</title> + <meta name="Description" content="s6-portable-utils: the s6-seq program" /> + <meta name="Keywords" content="s6-portable-utils command s6-seq seq numbers loop" /> + <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> --> + </head> +<body> + +<p> +<a href="index.html">s6-portable-utils</a><br /> +<a href="http://skarnet.org/software/">Software</a><br /> +<a href="http://skarnet.org/">skarnet.org</a> +</p> + +<h1> The <tt>s6-seq</tt> program </h1> + +<p> + s6-seq prints a sequence of numbers. +</p> + +<h2> Interface </h2> + +<pre> + s6-seq [ -w ] [ -s separator ] <em>limits</em> +</pre> + +<ul> + <li> <em>limits</em> can be one, two or three arguments. + <ul> + <li> Three arguments are interpreted as <em>first</em>, +<em>increment</em> and <em>last</em>, in this order. </li> + <li> Two arguments are interpreted as <em>first</em> and +<em>last</em>, and <em>increment</em> defaults to 1. </li> + <li> One argument is interpreted as <em>last</em>, and +<em>first</em> and <em>increment</em> both default to 1. </li> + </ul> </li> + <li> s6-seq prints all unsigned integers from <em>first</em> +to <em>last</em> inclusive, with a step of <em>increment</em>, +with a newline after each integer. +It then exits 0. </li> +</ul> + +<h2> Options </h2> + +<ul> + <li> <tt>-w</tt> : fixed width. The numbers will all be printed +with the same width; smaller numbers will have leading <tt>0</tt> +characters. </li> + <li> <tt>-s</tt> <em>sep</em> : print <em>sep</em> after +each number. Default is a newline. If <em>sep</em> +is the empty string, a null character will be printed. </li> +</ul> + +<h2> Notes </h2> + +<p> + s6-seq is similar to the GNU <tt>seq</tt> program. However, it +does not handle negative numbers, floating point numbers or +printf-style formatting. +</p> + +</body> +</html> |