[Bug 2051420] [NEW] Error in dash(1) manual in <& and >& descriptions

Launchpad Bug Tracker 2051420 at bugs.launchpad.net
Wed Feb 21 09:47:48 UTC 2024


You have been subscribed to a public bug:

$ man dash | grep '[<>]&n'
           [n1]<&n2    Copy file descriptor n2 as stdout (or fd n1).  fd n2.
           [n1]>&n2    Copy file descriptor n2 as stdin (or fd n1).  fd n2.

The text looks mangled with orphaned "fd n2" not making any sense.

The text has stdout and stdin confused/swapped.

dash.1 says "stdout" for <& - compare:

NetBSD sh.1 says

  [n1]<& n2   Redirect standard input (or n1) from a duplicate of file
descriptor n2.


OpenGroup text says:

   2.7.5 Duplicating an Input File Descriptor

  The redirection operator:

  [n]<&word

  shall duplicate one input file descriptor from another, or shall close
one.

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Error in dash(1) manual in <& and >& descriptions
https://bugs.launchpad.net/bugs/2051420
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to dash in Ubuntu.



More information about the foundations-bugs mailing list