From owner-freebsd-ports@FreeBSD.ORG Mon Sep 22 00:28:26 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB0B1065673 for ; Mon, 22 Sep 2008 00:28:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCDD8FC1D for ; Mon, 22 Sep 2008 00:28:20 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id HW5G1a0060x6nqcA8cULlN; Mon, 22 Sep 2008 00:28:20 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA12.emeryville.ca.mail.comcast.net with comcast id HcUK1a00b4v8bD78YcULfo; Mon, 22 Sep 2008 00:28:20 +0000 X-Authority-Analysis: v=1.0 c=1 a=ctNPsMcgIBYA:10 a=QuXZE9pG2-YA:10 a=QycZ5dHgAAAA:8 a=jTuhmc-ShWc89h4wGJwA:9 a=Sxx_tfvgvhbiSqJh-MsA:7 a=FrLIJD_MwqxHm7gdJJ5UGKWEFfYA:4 a=EoioJ0NPDVgA:10 a=MSl-tDqOz04A:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B684517B81A; Sun, 21 Sep 2008 17:28:19 -0700 (PDT) Date: Sun, 21 Sep 2008 17:28:19 -0700 From: Jeremy Chadwick To: Garance A Drosihn Message-ID: <20080922002819.GA12610@icarus.home.lan> References: <20080921215255.GA9622@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: Fwd: Re: Incorrect commandline history with bash X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 00:28:26 -0000 On Sun, Sep 21, 2008 at 06:45:22PM -0400, Garance A Drosihn wrote: > At 2:52 PM -0700 9/21/08, Jeremy Chadwick wrote: >> >> Individual did not CC the mailing list on his response. >> >> ----- Forwarded message from manish jain ----- >> > >> > Thanks Jeremy. Sourcing .bash_profile from .bashrc solved the >> > problem. For some reason, sourcing .bashrc from .bash_profile >> > worked equally well with the version of Linux I was previously >> > using. >> > >>> Regards >>> Manish Jain >> ----- end message from manish jain ----- > > I do not understand how that makes any difference. He had all his > commands in .bashrc, and sourced it from .bash_profile. If he > moves all his commands to .bash_profile, and then sources that > from his .bashrc, then isn't the result exactly the same? Either > way, all commands should be executed no matter how bash starts up. The INVOCATION section of the bash man page goes over the subtle differences. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |