delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/30/02:18:52

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Daniel Brockman <dan AT spicetrader DOT net>
Subject: Re: trouble with bash / if in recent release / update ?
Date: Tue, 30 Jan 2007 07:18:12 +0000 (UTC)
Lines: 30
Message-ID: <loom.20070130T081531-446@post.gmane.org>
References: <loom DOT 20070129T181002-616 AT post DOT gmane DOT org>
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-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

Tim Hanson <t.hanson <at> faz.de> writes:

> [...]
> i'd be grateful for pointers. (or advice on how to provide more clues.)
> 
> cheers,
> 
> Tim
> 
> 

I found this in the archive...

From: Eric Blake <ebb9 <at> byu.net>
Subject: [ANNOUNCEMENT] Updated: bash-3.2.9-11
Newsgroups: gmane.os.cygwin
Date: 2007-01-27 16:30:22 GMT (2 days, 14 hours and 41 minutes ago)
[...]
4a. For a single affected script, add this line just after the she-bang:
 (set -o igncr) 2>/dev/null && set -o igncr; # comment is needed
4b. For a single script, invoke bash explicitly with the shopt, as in
'bash -o igncr ./myscript' rather than the simpler './myscript'.
[...]


The value of the latest enhancement isn't immediately apparent to me.

db




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