X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: Re: spaces in .bash_profile lead to "command not found" Date: Thu, 05 Oct 2006 15:40:37 -0500 Lines: 29 Message-ID: References: <20061005201903 DOT GA13484 AT dirac DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 In-Reply-To: <20061005201903.GA13484@dirac.org> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Peter Jay Salzman wrote: > There are 4 blank lines in my .bash_profile: > [snip] > > Each blank line generates an error: > > $ source .bash_profile > BEGIN ~/.bash_profile > : command not found > : command not found > : command not found > : command not found > END ~/.bash_profile > > However, if I comment all the blank lines out, I get no errors. Each blank > line in this file seems to be causing a "command not found" error. What > could be causing this? Have you eliminated CR's as the cause (RTFRA and STFLA if you don't know what I'm talking about). What version of bash are you using? It would be helpful if you read http://cygwin.com/problems.html, especially the part about ATTACHING (not pasting in-line) cygcheck output. (Ooh... google finds lots of "wrong" results for STFLA, but the second RTFRA is my big-nasty-rant one ;-).) -- Matthew Don't use a hippo to... what was I saying? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/