X-Spam-Check-By: sourceware.org Date: Thu, 5 Oct 2006 16:19:03 -0400 To: cygwin AT cygwin DOT com Subject: spaces in .bash_profile lead to "command not found" Message-ID: <20061005201903.GA13484@dirac.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) From: p AT dirac DOT org (Peter Jay Salzman) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 There are 4 blank lines in my .bash_profile: ====== start file echo 'BEGIN ~/.bash_profile' export ANT_HOME='/cygdrive/c/Java/apache-ant-1.6.5' export JAVA_HOME='/cygdrive/c/Java/jdk1.5.0_08' export CLASSPATH='' export EDITOR='vim' export PATH="${JAVA_HOME}/bin:${ANT_HOME}/bin:${PATH}" # export PS1='$ ' # echo 'setting up aliases...' # alias ls='ls -F --color' # alias ll='ls -Fl --color' # alias la='ls -Fla --color' # alias lr='ls -Flr --color' # alias lar='ls -Flar --color' # alias desktop='cd /cygdrive/c/Documents\ and\ Settings/psalzman/Desktop' echo 'END ~/.bash_profile' ====== end file 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? Thanks, Pete -- 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/