[Bug 922023] [NEW] Typo in bash manual

Victor Zamanian 922023 at bugs.launchpad.net
Thu Jan 26 11:05:45 UTC 2012


Public bug reported:

There must be a typo in the bash man page under INVOCATION:

"Bash attempts to determine when it is being run with its standard input
connected to a network connection, as when executed 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.  It will not do this if invoked as sh.  The --norc option may
be  used  to  inhibit this behavior, and the --rcfile option may be used
to force another file to be read, but rshd does not generally invoke the
shell with those options or allow them to be specified."

To clarify:

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

That can't be right. :-)

It is the second-to-last paragraph under the INVOCATION section (starts
on line 188).

Not sure what it should say instead of that though.

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bash manual typo

-- 
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/922023

Title:
  Typo in bash manual

Status in “bash” package in Ubuntu:
  New

Bug description:
  There must be a typo in the bash man page under INVOCATION:

  "Bash attempts to determine when it is being run with its standard
  input connected to a network connection, as when executed 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.  It will not do this if invoked as sh.  The
  --norc option may  be  used  to  inhibit this behavior, and the
  --rcfile option may be used to force another file to be read, but rshd
  does not generally invoke the shell with those options or allow them
  to be specified."

  To clarify:

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

  That can't be right. :-)

  It is the second-to-last paragraph under the INVOCATION section
  (starts on line 188).

  Not sure what it should say instead of that though.

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




More information about the foundations-bugs mailing list