Package: bash
Version: 2.05b-26
Severity: normal

bash 2.05b-26 does not document the 'SHELL' environment variable that is
automatically set by bash.
I went through the man page and the docs in bash-doc and could find no
references to this environment variable.
It appears to be automatically set to the path to the bash binary.
Unfortunately this is exported to subproccess, which may be other shells
such as dash, leading to confusion and misinformation.

example from bash prompt:
$ echo $SHELL
/bin/bash
$ /bin/dash
$ echo $SHELL
/bin/bash

This environment variable should be documented as to its usage and
purpose.

*** /home/brian/.reportbug.sig

NOTE: Due to debian.org's inadequate measures to prevent email address
harvesting from bugs.debian.org, you must include "Bug#", without the
quotes, in the subject of any email that you wish to send me directly.
Automated messages sent by the emial list daemon already do this.
Thank You.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (470, 'testing'), (460, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages bash depends on:
ii  base-files            3.1.2              Debian base system miscellaneous f
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  passwd                1:4.0.3-31sarge9   change and administer password and

-- no debconf information


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

Reply via email to