[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SHELL Bash variable
From: |
Eric Blake |
Subject: |
Re: SHELL Bash variable |
Date: |
Thu, 17 Jul 2008 22:16:24 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Pedro Izecksohn on 7/17/2008 9:55 PM:
| "SHELL The full pathname to the shell is kept in this environment variable.
| If it is not set when the shell starts,
| Bash assigns to it the full pathname of the current user's login shell."
|
| SHELL is not being exported to the environment on Cygwin.
Not a bug. There are two namespaces - shell variables and environment
variables. If SHELL is not in the environment when bash starts, then bash
does not stick it in the environment; it is up to you to do 'export SHELL'.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiAGRgACgkQ84KuGfSFAYCvXgCfRnpsioaq58nA9fVUkyNCQzwW
I/cAn0vvJMpM+nbMx5JZaf5K1op08DSk
=JzJt
-----END PGP SIGNATURE-----