Package: dash
Version: 0.5.10.2-1
Followup-For: Bug #501566

Dear Maintainer,

Hi,

I'm afraid the patch for this bug
https://git.kernel.org/cgit/utils/dash/dash.git/commit/?id=6adc14a0d4e4a25eb2df8110672c84f393b45acb
actually reversed the two descriptions (and added some stray words).

Currently, the man page reads:

>          [n1]<&n2    Copy file descriptor n2 as stdout (or fd n1).  fd n2.
>          [n]<&-      Close standard input (or n).
>          [n1]>&n2    Copy file descriptor n2 as stdin (or fd n1).  fd n2.

This reverses the two <& descriptions, and adds "fd n2" in error.

I think my included patch should fix this.

Thanks for all your generous work,

d.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (150, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dash depends on:
ii  debianutils  4.8.6
ii  dpkg         1.19.2
ii  libc6        2.27-6

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true
From 05b07082b89d73dd84342640c61dc2d45080632c Mon Sep 17 00:00:00 2001
From: Danny O'Brien <da...@spesh.com>
Date: Wed, 31 Oct 2018 23:18:44 -0700
Subject: [PATCH] Fix man page redirection descriptions.

---
 debian/changelog | 8 ++++++--
 src/dash.1       | 6 ++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a0cf909..3e40351 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
-dash (0.5.10.2-2) UNRELEASED; urgency=medium
+dash (0.5.10.2-2.1) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * d/changelog: Remove trailing whitespaces
   * d/control: Add Vcs-* field
 
- -- Ondřej Nový <on...@debian.org>  Mon, 01 Oct 2018 10:37:55 +0200
+  [ Danny O'Brien ]
+  * Fixed man page redirection typo.
+
+ -- Danny O'Brien <da...@spesh.com>  Wed, 31 Oct 2018 23:16:54 -0700
 
 dash (0.5.10.2-1) unstable; urgency=medium
 
diff --git a/src/dash.1 b/src/dash.1
index c452c3f..fead70a 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -402,13 +402,11 @@ 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
-Copy file descriptor n2 as stdout (or fd n1).
-fd n2.
+Copy file descriptor n2 as stdin (or fd n1).
 .It [n] Ns \*[Lt]&-
 Close standard input (or n).
 .It [n1] Ns \*[Gt]& Ns n2
-Copy file descriptor n2 as stdin (or fd n1).
-fd n2.
+Copy file descriptor n2 as stdout (or fd n1).
 .It [n] Ns \*[Gt]&-
 Close standard output (or n).
 .It [n] Ns \*[Lt]\*[Gt] file
-- 
2.19.1

Reply via email to