From patchwork Thu Dec 11 09:03:06 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: 5474831 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-dash@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 32B94BEEA8 for ; Thu, 11 Dec 2014 09:06:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7434F20172 for ; Thu, 11 Dec 2014 09:06:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BB80200E8 for ; Thu, 11 Dec 2014 09:06:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932622AbaLKJGU (ORCPT ); Thu, 11 Dec 2014 04:06:20 -0500 Received: from smtp1-g21.free.fr ([212.27.42.1]:28724 "EHLO smtp1-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbaLKJGR (ORCPT ); Thu, 11 Dec 2014 04:06:17 -0500 Received: from hubert (unknown [88.183.246.121]) (Authenticated sender: saulery) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 40DDB94001B; Thu, 11 Dec 2014 10:05:35 +0100 (CET) Received: by hubert (sSMTP sendmail emulation); Thu, 11 Dec 2014 10:03:16 +0100 From: saulery@free.fr To: herbert@gondor.apana.org.au Cc: dash@vger.kernel.org, =?UTF-8?q?St=C3=A9phane=20Aulery?= Subject: [MAN] Clarify two redirection mechanisms Date: Thu, 11 Dec 2014 10:03:06 +0100 Message-Id: <1418288586-1587-1-git-send-email-saulery@free.fr> X-Mailer: git-send-email 2.1.3 In-Reply-To: <20141209165431.GB5708@chaz.gmail.com> References: <20141209165431.GB5708@chaz.gmail.com> 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. +Copy file descriptor n2 as stdout (or fd n1). +fd n2. .It [n] Ns \*[Lt]&- Close standard input (or n). .It [n1] Ns \*[Gt]& Ns n2 -Duplicate standard output (or n1) to n2. +Copy file descriptor n2 as stdin (or fd n1). +fd n2. .It [n] Ns \*[Gt]&- Close standard output (or n). .It [n] Ns \*[Lt]\*[Gt] file