bash man page has a typo, repeating .bashrc when one should be /etc/bash.bashrc

Bug #1728709 reported by Kevin O'Gorman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The INVOCATION section of the man page has the text

"reads and executes commands from ~/.bashrc and ~/.bashrc, if these files exist and are readable"

which repeats "~/.bashrc". By experiment, I find it probable that the first of these .bashrc references should read "/etc/bash.bashrc".

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bash 4.3-14ubuntu1.2
ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
Uname: Linux 4.4.0-97-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Oct 30 13:28:43 2017
InstallationDate: Installed on 2016-08-08 (447 days ago)
InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kevin O'Gorman (kogorman-pacbell) wrote :
tags: added: manpage
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubfan (ubfan1) wrote :

This documentation problem still present after two years in 18.04.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I took the liberty of marking this as a duplicate of bug 1216969 which is already marked as triaged.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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