[Bug 839560] Re: Errors in bash man page
B Bobo
839560 at bugs.launchpad.net
Tue Jul 30 04:23:20 UTC 2013
** Tags added: manpage
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/839560
Title:
Errors in bash man page
Status in “bash” package in Ubuntu:
Confirmed
Bug description:
man bash provides helpful info about the bash command. I have found what looks like 2 documentation issues and one clarification "request" so far by reading it and trying to understand how it works:
First, there is this paragraph that explains how bash behave when
invoked as an interactive shell:
"When bash is invoked as an interactive login shell... it first reads
and executes commands from the file /etc/profile, if that file
exists."
Well, what I have found on my system is that it first reads
/etc/bash.bashrc, then /etc/profile (using both of them in fact).
Second, there is this paragraph explaining how bash behave when it is
being run with its standard input connected to a network connection:
"Bash attempts to determine when it is being run with its standard
input connected to a network connection... If bash determines it is
being run in this fashion, it reads and executes commands from
~/.bashrc and ~./bashrc, ..."
The problem here is that is says ~/.bashrc twice. I have not checked
the actual behavior, but this is certainly a documentation problem.
Finally, for the document enhancement request, it is about the usage
of |&, which should say that the standard error of command is
connected to command2's standard input in addition to standard output.
The shorthand 2>&1 | helps to understand what is explained, but I
think this simple additional precision as text would help better grasp
what is meant here.
I am using Ubuntu 11.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/839560/+subscriptions
More information about the foundations-bugs
mailing list