Can confirm this issue is still present in bash 5.1-6ubuntu1 on Ubuntu Jammy ( http://manpages.ubuntu.com/manpages/jammy/en/man1/bash.1.html#invocation ). It has been discovered and reported by various people over the years (see the attached bug watch for a corresponding Debian report), so I'm trying to gather the duplicates in one place her.
>It doesn't seem to be upstream bash, No, this is also confirmed by duplicate bug 1968313 I believe it should be a simple fix, but I unfortunately don't know what the first ~/.bashrc should be replaced with. ** Bug watch added: Debian Bug tracker #601105 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601105 ** Also affects: bash (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601105 Importance: Unknown Status: Unknown ** Tags added: bionic focal jammy manpage string-fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bash in Ubuntu. https://bugs.launchpad.net/bugs/1216969 Title: man page names the same file twice -- are there really 2? Status in bash package in Ubuntu: Triaged Status in bash package in Debian: Unknown 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 ProcVersionSignature: Ubuntu 3.2.0-49.75-generic-pae 3.2.46 Uname: Linux 3.2.0-49-generic-pae i686 NonfreeKernelModules: nvidia 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.conffile..etc.bash.bashrc: [modified] mtime.conffile..etc.bash.bashrc: 2012-10-05T23:02:00.509472 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1216969/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

