I just grabbed the source for bash from http://ftp.gnu.org/gnu/bash/.
(http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz)

Opening the doc/bash.1 file with man, I noticed that this is the state
of that paragraph in that source package:

       "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  deter‐
       mines  it  is being run in this fashion, it reads and executes commands
       from ~/.bashrc, if that file exists and is 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."

So it seems to me that the file name was simply duplicated and was only
supposed to be mentioned once. So the solution is probably just to
remove the duplication.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/922023

Title:
  Typo in bash manual ("from ~/.bashrc and ~/.bashrc")

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnubash/+bug/922023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to