delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | mwoehlke <mwoehlke AT tibco DOT com> |
Subject: | Re: spaces in .bash_profile lead to "command not found" |
Date: | Thu, 05 Oct 2006 15:40:37 -0500 |
Lines: | 29 |
Message-ID: | <eg3qk5$91q$1@sea.gmane.org> |
References: | <20061005201903 DOT GA13484 AT dirac DOT org> |
Mime-Version: | 1.0 |
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 |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |