Error in dash(1) manual in <& and >& descriptions

Bug #2051420 reported by Valery Ushakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dash (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ 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: boinc (Ubuntu) → dash (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.