Ping, did this email go through to the list?

Profpatsch <m...@profpatsch.de> writes:

> I had quite big problems getting an intuition for fdmove, and the way
> aranea phrased it (by effect) makes a lot of sense to me.
> ---
>  doc/fdmove.html | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/doc/fdmove.html b/doc/fdmove.html
> index 39bdb2b..b9a0e46 100644
> --- a/doc/fdmove.html
> +++ b/doc/fdmove.html
> @@ -45,6 +45,12 @@ instead of moving it; do not close <em>fdfrom</em>. </li>
>
>  <h2> Notes </h2>
>
> +<blockquote>
> + <p><tt>fdmove <em>1</em> <em>2</em> prog...</tt> means: if you write to 
> <tt>fd <em>1</em></tt> now, it’ll have the same effect as writing to <tt>fd 
> <em>2</em></tt> before, and you can’t write to <tt>fd <em>2</em></tt> anymore.
> +<br />
> +… and<tt> fdmove -c <em>1</em> <em>2</em> prog...</tt> means: you can also 
> still write to <tt>fd <em>2</em></tt> and it’ll have the same effect as 
> before.</p>
> +</blockquote>
> +
>  <ul>
>   <li> <tt>fdmove -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>

Reply via email to