From patchwork Fri Nov 21 11:52:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?St=C3=A9phane_Aulery?= X-Patchwork-Id: 5354481 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-dash@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A31489F2F1 for ; Fri, 21 Nov 2014 11:54:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D8FE120114 for ; Fri, 21 Nov 2014 11:54:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E03D1200F0 for ; Fri, 21 Nov 2014 11:54:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754740AbaKULym (ORCPT ); Fri, 21 Nov 2014 06:54:42 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:29539 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753877AbaKULym (ORCPT ); Fri, 21 Nov 2014 06:54:42 -0500 Received: from hubert (unknown [88.183.246.121]) (Authenticated sender: saulery) by smtp3-g21.free.fr (Postfix) with ESMTPSA id B9509A6327; Fri, 21 Nov 2014 12:51:52 +0100 (CET) Received: by hubert (sSMTP sendmail emulation); Fri, 21 Nov 2014 12:52:36 +0100 From: saulery@free.fr To: dash@vger.kernel.org Cc: saulery@free.fr Subject: [MAN] Clarify two redirection mechanisms Date: Fri, 21 Nov 2014 12:52:34 +0100 Message-Id: <1416570754-9998-1-git-send-email-saulery@free.fr> X-Mailer: git-send-email 2.1.3 In-Reply-To: <20141112021204.GA23275@gondor.apana.org.au> References: <20141112021204.GA23275@gondor.apana.org.au> MIME-Version: 1.0 Sender: dash-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stéphane Aulery Close Debian Bug #501566 --- src/dash.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dash.1 b/src/dash.1 index d782882..429657a 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -402,11 +402,13 @@ Append standard output (or n) to file. .It [n] Ns \*[Lt] file Redirect standard input (or n) from file. .It [n1] Ns \*[Lt]& Ns n2 -Duplicate standard input (or n1) from file descriptor n2. +Redirect standard input (or fd n1) from the same resource as currently open on +fd n2. .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 fd n1) to the same resource as currently open on +fd n2. .It [n] Ns \*[Gt]&- Close standard output (or n). .It [n] Ns \*[Lt]\*[Gt] file