[Bug 2051420] Re: Error in dash(1) manual in <& and >& descriptions
Gianfranco Costamagna
2051420 at bugs.launchpad.net
Wed Feb 21 09:47:48 UTC 2024
** Package changed: boinc (Ubuntu) => dash (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dash in Ubuntu.
https://bugs.launchpad.net/bugs/2051420
Title:
Error in dash(1) manual in <& and >& descriptions
Status in dash package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/2051420/+subscriptions
More information about the foundations-bugs
mailing list