man page names the same file twice -- are there really 2?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Debian) |
New
|
Unknown
|
|||
bash (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
In the bash(1) man page, INVOCATION section, second-to-last paragraph (begins with "Bash attempts to determine"), it says, in part:
"it reads and executes commands from ~/.bashrc and ~/.bashrc,"
naming the same file twice. I suspect there's a file in /etc that gets read, but in any event the duplication should be either removed or corrected.q
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bash 4.2-2ubuntu2.1
ProcVersionSign
Uname: Linux 3.2.0-49-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
Date: Mon Aug 26 07:59:26 2013
InstallationMedia: Xubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
MarkForUpload: True
ProcEnviron:
TERM=xterm
LC_COLLATE=C
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Changed in bash (Debian): | |
status: | Unknown → New |
Hmm I think you're right; in most other parts of that text it says
'bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist.'
but that section does have ~/.bashrc twice.
It doesn't seem to be upstream bash, but seems to be in the debian/ubuntu man-bashrc.diff patch.