delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/10/12:21:10

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Blake <ebb9 AT byu DOT net>
Subject: Re: Bash 3.1.17(8): Scripts on textmode mount get problems with CR characters
Date: Tue, 10 Oct 2006 16:20:10 +0000 (UTC)
Lines: 30
Message-ID: <loom.20061010T181538-454@post.gmane.org>
References: <93C4769E3BED6B42B7203BD6F065654C081FDE38 AT dmoexc01 DOT emea DOT cpqcorp DOT net>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Bruun, Peter Michael (HP C&I CME OSS CoE <peter-michael.bruun <at> hp.com> 
writes:

> 
> With release 3.1.8 of Bash, however, it no longer understands Windows
> conventions.
> 
> I get:
> 
> Bash is broken in /home/pmb
> Bash is broken in C:/Temp
> Bash works in /tmp
> 
> 
> Or have I overlooked something?

You overlooked bash-3.1-9, which special cases DOS paths to ensure that the 
underlying mount path settings are honored even when you go behind cygwin's 
back by using DOS paths.

You also overlooked several weeks' worth of discussions of this very issue on 
this list, including mail from me stating that I am considering preparing bash-
3.1-10 with the new igncr shopt (possibly turning it into an -o setting, so 
that $SHELLOPTS can affect it) on by default, instead of off by default; as 
igncr is definitely faster for \r\n handling than bash-3.1-6 ever was.

-- 
Eric Blake
volunteer cygwin bash maintainer



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