summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/fdswap.html43
-rw-r--r--doc/index.html5
-rw-r--r--doc/upgrade.html7
3 files changed, 53 insertions, 2 deletions
diff --git a/doc/fdswap.html b/doc/fdswap.html
new file mode 100644
index 0000000..5f353dc
--- /dev/null
+++ b/doc/fdswap.html
@@ -0,0 +1,43 @@
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>execline: the fdswap program</title>
+ <meta name="Description" content="execline: the fdswap program" />
+ <meta name="Keywords" content="execline command fdswap file descriptor dup dup2" />
+ <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> -->
+ </head>
+<body>
+
+<p>
+<a href="index.html">execline</a><br />
+<a href="http://skarnet.org/software/">Software</a><br />
+<a href="http://skarnet.org/">skarnet.org</a>
+</p>
+
+<h1> The <tt>fdswap</tt> program </h1>
+
+<p>
+<tt>fdswap</tt> swaps two file descriptors, then
+executes a program.
+</p>
+
+<h2> Interface </h2>
+
+<pre>
+ fdswap <em>fd1</em> <em>fd2</em> <em>prog...</em>
+</pre>
+
+<p>
+<tt>fdswaps</tt> swaps file descriptors numbered <em>fd1</em> and
+<em>fd2</em>, then execs into <em>prog</em> with its arguments.
+</p>
+
+<h2> Notes </h2>
+
+<ul>
+ <li> fdswap has no portable shell equivalent. </li>
+</ul>
+
+</body>
+</html>
diff --git a/doc/index.html b/doc/index.html
index 462eeba..851a0c5 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -50,7 +50,7 @@ shell's syntax, and has no security issues.
<li> A POSIX-compliant system with a standard C development environment </li>
<li> GNU make, version 4.0 or later </li>
<li> <a href="http://skarnet.org/software/skalibs/">skalibs</a> version
-2.2.0.0 or later </li>
+2.2.1.0 or later </li>
</ul>
<h3> Licensing </h3>
@@ -63,7 +63,7 @@ shell's syntax, and has no security issues.
<h3> Download </h3>
<ul>
- <li> The current released version of execline is <a href="execline-2.0.1.1.tar.gz">2.0.1.1</a>. </li>
+ <li> The current released version of execline is <a href="execline-2.0.2.0.tar.gz">2.0.2.0</a>. </li>
<li> Alternatively, you can checkout a copy of the execline git repository:
<pre> git clone git://git.skarnet.org/execline </pre> </li>
</ul>
@@ -122,6 +122,7 @@ to your installation: the shebang lines for your system might be something like
<li><a href="fdclose.html">The <tt>fdclose</tt> program</a></li>
<li><a href="fdblock.html">The <tt>fdblock</tt> program</a></li>
<li><a href="fdmove.html">The <tt>fdmove</tt> program</a></li>
+<li><a href="fdswap.html">The <tt>fdswap</tt> program</a></li>
<li><a href="fdreserve.html">The <tt>fdreserve</tt> program</a></li>
<li><a href="redirfd.html">The <tt>redirfd</tt> program</a></li>
<li><a href="piperw.html">The <tt>piperw</tt> program</a></li>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index eed4a6a..ed85109 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -17,6 +17,13 @@
<h1> What has changed in execline </h1>
+<h2> in 2.0.2.0 </h2>
+
+<ul>
+ <li> skalibs dependency bumped to 2.2.1.0 </li>
+ <li> New command: <a href="fdswap.html">fdswap</a> </li>
+</ul>
+
<h2> in 2.0.1.1 </h2>
<ul>