delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/07/04:16:21

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT com>
Subject: Re: late bash CR/LF functionality change problem
Date: Wed, 07 Feb 2007 10:15:43 +0100
Lines: 23
Message-ID: <eqc5bp$rgb$1@sea.gmane.org>
References: <200702070800 DOT JAA03397 AT bmdme9 DOT bbl DOT ms DOT philips DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
In-Reply-To: <200702070800.JAA03397@bmdme9.bbl.ms.philips.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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.kielbasiewicz skrev:
> I recently updated to the latest bash rev. only to find that most of my scripts do not work anymore.
> I browsed through the FAQ and mailing lists and found many people having problems with the changed behaviour of treating \r literally.
> 
> I do not want to argue what is right or wrong though.
> Fact is that bash until fall last year functioned in a certain way.
> Many people wrote scripts using this functionality.
> Now bash functions differently which breaks a lot of jobs.
> 
> Especially batch processes which did their job silently in the background all over the sudden cause problems. 
> If a change is implemented which has such a big impact it should NEVER be implemented as the default behaviour.
> Instead this new functionality should be activated by an env setting, start parameter or the like so that the functionality stays backward compatible.
> 
> What made things even worse is that there is no notification about the changed behaviour. It is just the symptoms and everyone experiencing the problem must then dig to find out the cause.
> 
> Is there an quick and easy solution to the problem out yet?
> 
> Peter
> 
> 
> 

Stop beating a dead horse and use dos2unix on your scripts already.


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