Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    The bash man page does mentioned closing, quoting your link: If word evaluates to ‘-’, file descriptor n is closed. Commented Mar 22, 2018 at 14:27
  • @studog Thanks for checking the source! I think what happened here is I was looking at a local manpage for Bash 3, and then linked to the online documentation, which was for Bash 4. In the old Bash 3 documentation, the phrase about closing was omitted from the description of [N]>&WORD: git.savannah.gnu.org/cgit/bash.git/tree/doc/… Commented Mar 22, 2018 at 22:06