man bash shows "files ~/.bashrc and ~/.bashrc" instead of "files /etc/bash.bashrc and ~/.bashrc"

Bug #624726 reported by Andy Bach
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

From (via dpkg -s):
Package: bash
...
Maintainer: Ubuntu Developers <email address hidden>
Architecture: i386
Version: 4.1-2ubuntu3

in
/usr/share/man/man1/bash.1.gz
 -rw-r--r-- 1 root root 77544 2010-04-18 20:51

I see, under INVOCATION:
Bash attempts to determine when it is being run with its standard input connected to a a network
       connection, as if 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.

(indenting to show duplication) - appears, from the online version:
http://manpages.ubuntu.com/manpages/lucid/en/man1/bash.1.html

one of those is supposed to be /etc/bash.bashrc My older bash man page just has:
it reads and executes commands from
~/.bashrc
if that file exists and is readable.

Thanks.

a

Tags: manpage
Revision history for this message
Vallery Lancey (muscovy) wrote :

Confirmed. Here's the entry from 10.04:

When an interactive shell that is not a login shell is started, bash
 reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if
these files exist. This may be inhibited by using the --norc option.
The --rcfile file option will force bash to read and execute commands
from file instead of /etc/bash.bashrc and ~/.bashrc.

In other words, the files are /etc/bash.bashrc and ~/.bashrc.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Vallery Lancey (muscovy) wrote :

Could you tell us what version of Ubuntu you are running?

Revision history for this message
Andy Bach (afbach) wrote :

Ubuntu 10.04.1 LTS (seen on both an Ubuntu and Kubuntu distro)

Vallery Lancey (muscovy)
summary: - man bash shows "files ~/.bashrc and ~/.bashrc"
+ man bash shows "files ~/.bashrc and ~/.bashrc" instead of "files
+ /etc/bash.bashrc and ~/.bashrc"
tags: added: manpage
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.