diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/index.html | 3 | ||||
-rw-r--r-- | doc/s6-seq.html | 66 | ||||
-rw-r--r-- | doc/upgrade.html | 3 |
3 files changed, 70 insertions, 2 deletions
diff --git a/doc/index.html b/doc/index.html index 5f599eb..b2f40fd 100644 --- a/doc/index.html +++ b/doc/index.html @@ -76,7 +76,7 @@ library. </li> <ul> <li> The current released version of s6-portable-utils is -<a href="s6-portable-utils-2.0.4.1.tar.gz">2.0.4.1</a>. </li> +<a href="s6-portable-utils-2.0.5.0.tar.gz">2.0.5.0</a>. </li> <li> Alternatively, you can checkout a copy of the s6-portable-utils git repository: <pre> git clone git://git.skarnet.org/s6-portable-utils </pre> </li> </ul> @@ -135,6 +135,7 @@ the previous versions of s6-portable-utils and the current one. </li> <li> The <a href="s6-quote.html"><tt>s6-quote</tt></a> program </li> <li> The <a href="s6-rename.html"><tt>s6-rename</tt></a> program </li> <li> The <a href="s6-rmrf.html"><tt>s6-rmrf</tt></a> program </li> + <li> The <a href="s6-seq.html"><tt>s6-seq</tt></a> program </li> <li> The <a href="s6-sleep.html"><tt>s6-sleep</tt></a> program </li> <li> The <a href="s6-sort.html"><tt>s6-sort</tt></a> program </li> <li> The <a href="s6-sync.html"><tt>s6-sync</tt></a> program </li> 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> diff --git a/doc/upgrade.html b/doc/upgrade.html index 403476d..c75ef87 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -17,10 +17,11 @@ <h1> What has changed in s6-portable-utils </h1> -<h2> in 2.0.4.1 </h2> +<h2> in 2.0.5.0 </h2> <ul> <li> skalibs dependency bumped to 2.3.4.0. </li> + <li> New command: <a href="s6-seq.html">s6-seq</a>. </li> </ul> <h2> in 2.0.4.0 </h2> |