www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/29/07:36:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48B7DEF4.4D6A671B@dessent.net>
Date: Fri, 29 Aug 2008 04:35:16 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Text Mode and "$'\r': command not found" error
References: <48B7C93F DOT 9000209 AT atosorigin DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m7TBa8fs012660

Clément LABORIE wrote:

>  >source ${PROJECT_DIR}/myBash.bash
> ..... $'\r': command not found
> 
>  >echo ${PROJECT_DIR}
> E:/project/...
> 
> When I replace ${PROJECT_DIR} by Unix directory /cygdrive/e/project/...,
> it works well.

What version of bash are you using?  Have you read point 6 in
/usr/share/doc/Cygwin/bash-*.README?  Have you considered using cygpath
to automatically rewrite the Win32 paths?

Brian

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019