From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U3TDqXBoYW5l?= Aulery Subject: dash: details of redirection/duplication in manpage are reversed Date: Tue, 11 Nov 2014 21:47:27 +0100 Message-ID: <20141111204726.GA13651@free.fr> References: <20141110111951.GA4185@free.fr> <20141110132409.GA8416@gondor.apana.org.au> <20141110134957.GA5664@free.fr> <20141111150805.GA18820@gondor.apana.org.au> <20141111204600.GA13252@free.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Content-Transfer-Encoding: 8bit Return-path: Received: from smtp3-g21.free.fr ([212.27.42.3]:3664 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878AbaKKUtD (ORCPT ); Tue, 11 Nov 2014 15:49:03 -0500 Content-Disposition: inline In-Reply-To: <20141111204600.GA13252@free.fr> Sender: dash-owner@vger.kernel.org List-Id: dash@vger.kernel.org To: Herbert Xu Cc: Stephen Shirley , dash@vger.kernel.org --azLHFNyN32YCQGCU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hello, Le mardi 11 novembre 2014 à 11:08:05, Herbert Xu a écrit : > On Tue, Nov 11, 2014 at 02:23:21PM +0100, Stephen Shirley wrote: > > > > "[n1]>&n2 Redirect standard output (or n1) to n2." > > > > It doesn't cover the case where n2 is later changed, and how n1 does > > not follow this, but it's the simplest fix i see. > > Yes that sounds much better. Please send a patch. Here is one. Stephen, the correction of the first line is abandoned? [n1]<&n2 Duplicate standard input (or n1) from file descriptor n2. Regards, -- Stéphane Aulery --azLHFNyN32YCQGCU Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="dash.1.fix-redirect-output.diff" --- dash.1.old 2014-11-11 21:33:03.740785197 +0100 +++ dash.1.new 2014-11-11 21:41:02.747126940 +0100 @@ -406,7 +406,7 @@ .It [n] Ns \*[Lt]&- Close standard input (or n). .It [n1] Ns \*[Gt]& Ns n2 -Duplicate standard output (or n1) to n2. +Redirect standard output (or n1) to n2. .It [n] Ns \*[Gt]&- Close standard output (or n). .It [n] Ns \*[Lt]\*[Gt] file --azLHFNyN32YCQGCU--