Michael, and everybody else,
Sorry that I was not more clear.
By "standard", I merely meant that ANY login shell that I know of
reads $HOME/.profile so that it's NOT shell specific.
And the RedHat stuff that I mentioned was the system-default user
PATH, which my (non-RedHat) boxes all set in /etc/profile... I DON'T
use RedHat, but I have had to work with it, and I do know that /etc is
just not structured the way most Unices are. I did NOT intend any slam
to anybody, or even infer that RH's setup is inferior. I said I don't
like it....
Lastly, my name is not "Jacko", I'm sure Jacko doesn't want my
flames, and I'm not smoking crack.
--- Michael Rice <[EMAIL PROTECTED]> wrote:
> > The "standard" for setting user-specific PATH
> would be $HOME/.profile
> > I usually set it in $HOME/.bash_login , then in
> my .profile I set
> > ENV=$HOME/.bash_login
> > export ENV
>
> no, the "standard" is shell specific. In Bash, you
> need to read your
> manpage under INVOCATION. There are three kinds of
> shells: login,
> non-login interactive, and non-interactive. Each
> has different
> priorities. Then you throw out everything you know
> about bash to start
> talking about bourne, or korn, or z, or c shells.
> Bash itself does
> something else when invoked as sh or in posix mode.
>
> > I'm not real up on RH6, but on Slackware, Solaris,
> and AIX that sets
> > anything in .bash_login for any term I open.
> > This stuff is my main beef with RedHat. Like the
> world needs another
> > version of the wheel...
>
> .bash_login works fine in RedHat, as long as you're
> starting login shells.
> .bash_profile takes precedence, however, and .bashrc
> works for non-login
> interactive shells
>
> This is Bash behaviour, not RedHat... I haven't seen
> anything that RedHat
> has done to make their bash behave differently from
> any other OSes, so
> let's leave the bashing to the shell (pun intended).
>
> _____________________ _ _
> _________________________
> Michael Rice |_| Collective |_|
> http://www.colltech.com
> [EMAIL PROTECTED] |_ Technologies _|
> 8007598888/8019292 pager
> Consultant [] []
> "The Power Of Many Minds"
>
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]