summaryrefslogtreecommitdiff
path: root/doc/fdmove.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
commit77a47b2c5e7c3243743bd8d7594366f498e9cef7 (patch)
treefb807c0b0c20db34f5108df67da6b4d64e5bc8e6 /doc/fdmove.html
parent3fde941ae33bd70edf015b3c72997aef703ebf6d (diff)
downloadexecline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.xz
More modifications, and doc change
Diffstat (limited to 'doc/fdmove.html')
-rw-r--r--doc/fdmove.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/fdmove.html b/doc/fdmove.html
index 39bdb2b..f8cf841 100644
--- a/doc/fdmove.html
+++ b/doc/fdmove.html
@@ -3,9 +3,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
- <title>execline: the fdmove program</title>
- <meta name="Description" content="execline: the fdmove program" />
- <meta name="Keywords" content="execline command fdmove file descriptor dup dup2" />
+ <title>execline: the &gt;&amp; program</title>
+ <meta name="Description" content="execline: the &gt;&amp; program" />
+ <meta name="Keywords" content="execline command &gt;&amp; file descriptor dup dup2" />
<!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
</head>
<body>
@@ -16,23 +16,23 @@
<a href="//skarnet.org/">skarnet.org</a>
</p>
-<h1> The <tt>fdmove</tt> program </h1>
+<h1> The <tt>&gt;&amp;</tt> program </h1>
<p>
-<tt>fdmove</tt> moves or copies a given file descriptor, then
+<tt>&gt;&amp;</tt> moves or copies a given file descriptor, then
executes a program.
</p>
<h2> Interface </h2>
<pre>
- fdmove [ -c ] <em>fdto</em> <em>fdfrom</em> <em>prog...</em>
+ &gt;&amp; [ -c ] <em>fdto</em> <em>fdfrom</em> <em>prog...</em>
</pre>
<p>
-<tt>fdmove</tt> moves the file descriptor number <em>fdfrom</em>,
+<tt>&gt;&amp;</tt> moves the file descriptor number <em>fdfrom</em>,
to number <em>fdto</em>, then execs into <em>prog</em> with its arguments.
-If <em>fdto</em> is open, <tt>fdmove</tt> closes it before moving
+If <em>fdto</em> is open, <tt>&gt;&amp;</tt> closes it before moving
<em>fdfrom</em> to it.
</p>
@@ -46,9 +46,9 @@ instead of moving it; do not close <em>fdfrom</em>. </li>
<h2> Notes </h2>
<ul>
- <li> <tt>fdmove -c <em>a</em> <em>b</em> prog...</tt> is roughly equivalent to
+ <li> <tt>&gt;&amp; -c <em>a</em> <em>b</em> prog...</tt> is roughly equivalent to
<tt>sh -c 'exec prog... <em>a</em>&gt;&amp;<em>b</em>'</tt></li>
- <li> <tt>fdmove <em>a</em> <em>b</em> prog...</tt> is roughly equivalent to
+ <li> <tt>&gt;&amp; <em>a</em> <em>b</em> prog...</tt> is roughly equivalent to
<tt>sh -c 'exec prog... <em>a</em>&gt;&amp;<em>b</em> <em>b</em>&lt;&amp;-'</tt></li>
</ul>