Typo in bash manual ("from ~/.bashrc and ~/.bashrc")
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnu Bash |
New
|
Undecided
|
Unassigned | ||
bash (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
There must be a typo in the bash man page under INVOCATION:
"Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the remote shell daemon, usually rshd, or the secure shell daemon sshd. If bash determines it is being run in this fashion, it reads and executes commands from ~/.bashrc and ~/.bashrc, if these files exist and are readable. It will not do this if invoked as sh. The --norc option may be used to inhibit this behavior, and the --rcfile option may be used to force another file to be read, but rshd does not generally invoke the shell with those options or allow them to be specified."
To clarify:
"[...] reads and executes commands from ~/.bashrc and ~/.bashrc, if these files exist and are readable."
That can't be right. :-)
It is the second-to-last paragraph under the INVOCATION section (starts on line 188).
Not sure what it should say instead of that though.
Related branches
- Brian Murray: Disapprove
- Ubuntu branches: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifieddebian/patches/man-bashrc.diff (+1/-1)
Changed in bash (Ubuntu): | |
assignee: | nobody → Daniel Polehn (dpolehn-gmail) |
Changed in bash (Ubuntu): | |
assignee: | Daniel Polehn (dpolehn-gmail) → nobody |
Changed in bash (Ubuntu): | |
status: | Incomplete → In Progress |
status: | In Progress → Confirmed |
I see the manpage included in bash 4.2-1ubuntu1 in Ubuntu Precise mentions the same file name twice. It's also present in Ubuntu 11.10 at least.