summaryrefslogtreecommitdiff
path: root/doc/fdswap.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-24 13:07:29 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-24 13:07:29 +0000
commit86aa8c6429885ecde3c4cbbb9528fc82f024f40a (patch)
treedbbea8117320afeecded51936250bb755541b140 /doc/fdswap.html
parent1f84ac05f76e73be294d74e5999e030a07221d68 (diff)
downloadexecline-86aa8c6429885ecde3c4cbbb9528fc82f024f40a.tar.xz
- add fdswap
- version: 2.0.2.0
Diffstat (limited to 'doc/fdswap.html')
-rw-r--r--doc/fdswap.html43
1 files changed, 43 insertions, 0 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>