[Bug 839560] Re: Errors in bash man page

osirisgothra osirisgothra at hotmail.com
Tue Aug 6 13:19:23 UTC 2013


I've confirmed these (and some more) bugs as well, very annoying when
the cornerstone of the entire OS isn't documented properly. This is
still the case in 13.04 raring, and probably in 13.10 saucy as well.

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

Title:
  Errors in bash man page

Status in “bash” package in Ubuntu:
  Confirmed

Bug description:
  
  man bash provides helpful info about the bash command. I have found what looks like 2 documentation issues and one clarification "request" so far by reading it and trying to understand how it works:

  First, there is this paragraph that explains how bash behave when
  invoked as an interactive shell:

  "When bash is invoked as an interactive login shell... it first reads
  and executes commands from the file /etc/profile, if that file
  exists."

  Well, what I have found on my system is that it first reads
  /etc/bash.bashrc, then /etc/profile (using both of them in fact).

  Second, there is this paragraph explaining how bash behave when it is
  being run with its standard input connected to a network connection:

  "Bash attempts to determine when it is being run with its standard
  input connected to a network connection... If bash determines it is
  being run in this fashion, it reads and executes commands from
  ~/.bashrc and ­~./bashrc, ..."

  The problem here is that is says ~/.bashrc twice. I have not checked
  the actual behavior, but this is certainly a documentation problem.

  Finally, for the document enhancement request, it is about the usage
  of |&, which should say that the standard error of command is
  connected to command2's standard input in addition to standard output.
  The shorthand 2>&1 | helps to understand what is explained, but I
  think this simple additional precision as text would help better grasp
  what is meant here.

  I am using Ubuntu 11.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/839560/+subscriptions




More information about the foundations-bugs mailing list