Package: bash
Version: 3.1-1
Severity: normal

The bash man page says:

       --rcfile file
              Execute  commands from file instead of the system wide
              initialization file /etc/bash.bashrc and the  standard
              personal initialization file ~/.bashrc if the shell is
              interactive (see INVOCATION below).

and in "INVOCATION":

       When an interactive shell  that  is  not  a  login  shell  is
       started,    bash    reads    and   executes   commands   from
       /etc/bash.bashrc and ~/.bashrc, if these files  exist.   This
       may  be  inhibited  by using the --norc option.  The --rcfile
       file option will force bash to read and execute commands from
       file instead of /etc/bash.bashrc and ~/.bashrc.

But as said in bug#343471,

  "Debian compiles bash to source /etc/bash.bashrc at startup,
   before the user rcfile is sourced."

The man page should be fixed: "Execute commands from file instead of
the standard personal initialization file ~/.bashrc [...]" and "The
--rcfile file option will force bash to read and execute commands
from file instead of ~/.bashrc.", and it should also probably say
that this is specific to Debian.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4-20051215
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages bash depends on:
ii  base-files                    3.1.9      Debian base system miscellaneous f
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libncurses5                   5.5-1      Shared libraries for terminal hand

bash recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to