public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] man bash document doesn't match real life bash.
Date: Wed, 19 Sep 2007 08:36:31 -0500	[thread overview]
Message-ID: <1190208991.31434.2.camel@localhost> (raw)
In-Reply-To: <46F13A34.4080201@ergolight-sw.com>

On Wed, 2007-09-19 at 17:03 +0200, David Harel wrote:
> I was surprised to find that in man bash the reference to
> initialization
> files is wrong. The bash manual says it reads initialization files
> from
> /etc/profile:
> FILES
>        /bin/bash
>               The bash executable
>        /etc/profile
>               The systemwide initialization file, executed for login
> shells 

Most bash installations have /etc/profile source /etc/bashrc.  This is
not uncommon.  You'll probably likely see the default ~/.bash_profile
source ~/.bashrc.

But it is sourcing /etc/profile else you wouldn't be getting half the
environment variables that you're getting.

-a

-- 
gentoo-user@gentoo.org mailing list



      parent reply	other threads:[~2007-09-19 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 15:03 [gentoo-user] man bash document doesn't match real life bash David Harel
2007-09-19 13:23 ` Neil Bothwick
2007-09-19 13:43   ` Etaoin Shrdlu
2007-09-22 20:12   ` David Harel
2007-09-23  3:19     ` Mrugesh Karnik
2007-09-23  8:35       ` Etaoin Shrdlu
2007-09-19 13:36 ` Albert Hopkins [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1190208991.31434.2.camel@localhost \
    --to=marduk@letterboxes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox