delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/30/04:58:13

X-Spam-Check-By: sourceware.org
Message-ID: <1170151070.45bf169e05a8a@imp.free.fr>
Date: Tue, 30 Jan 2007 10:57:50 +0100
From: jm DOT challier AT free DOT fr
To: cygwin AT cygwin DOT com
Subject: Re: Newly-installed bash 3.2.9-10 (cygwin 1.5.24-1) exits when I try to execute a program
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.5
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

Hello again

Sorry to ask for explainations, but since English is not my mother tongue, I
think I may be misunderstanding the point you made :

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

When I open a command line and launch bash with -o igncr option, I still get the
problem :

> C:\Lang\cygwin\bin>bash --login -i -o igncr
> bash-3.2$ echo $SHELLOPTS
>
braceexpand:emacs:hashall:histexpand:history:igncr:interactive-comments:monitor
> bash-3.2$ ls
>
> C:\Lang\cygwin\bin>

What am I doing wrong ?

TIA

jmc

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