From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IXzyl-0005R4-Ll for garchives@archives.gentoo.org; Wed, 19 Sep 2007 13:52:36 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8JDhRq8032553; Wed, 19 Sep 2007 13:43:27 GMT Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8JDbcCE025528 for ; Wed, 19 Sep 2007 13:37:38 GMT Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 339CC2E9FC for ; Wed, 19 Sep 2007 09:37:38 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 19 Sep 2007 09:37:38 -0400 X-Sasl-enc: EAq/v1zhr70a6x6ABH5kyZmwyfAIKNzPN+cw/ziiZmXg 1190209057 Received: from [10.6.104.131] (nat-vlan0201.sat4.rackspace.com [64.39.0.39]) by www.fastmail.fm (Postfix) with ESMTP id CCBF26FAF for ; Wed, 19 Sep 2007 09:37:37 -0400 (EDT) Subject: Re: [gentoo-user] man bash document doesn't match real life bash. From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <46F13A34.4080201@ergolight-sw.com> References: <46F13A34.4080201@ergolight-sw.com> Content-Type: text/plain Date: Wed, 19 Sep 2007 08:36:31 -0500 Message-Id: <1190208991.31434.2.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: cdd760da-a029-4553-9789-3db079cb9379 X-Archives-Hash: eaad8e141b3e82b4a3b51209fd051926 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