delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Thu, 17 Jan 2002 15:34:31 +0100 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | chet AT po DOT cwru DOT edu |
Cc: | cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: A small problem in Shell Scripts while using the built-in "read" function -- Options not recognised |
Message-ID: | <20020117153431.R2015@cygbert.vinschen.de> |
Mail-Followup-To: | chet AT po DOT cwru DOT edu, cygwin <cygwin AT cygwin DOT com> |
References: | <020117142205 DOT AA92465 DOT SM AT nike DOT ins DOT cwru DOT edu> |
Mime-Version: | 1.0 |
In-Reply-To: | <020117142205.AA92465.SM@nike.ins.cwru.edu> |
User-Agent: | Mutt/1.3.22.1i |
On Thu, Jan 17, 2002 at 09:22:05AM -0500, Chet Ramey wrote: > > The script is running under sh which is ash, not bash. ash doesn't > > know these `read' options. As workaround prepend > > > > #!/bin/bash > > > > to your script or start it via `bash -c script'. > > Why the `-c'? `bash script' should work just fine. Chet, did you apply the pathcanon.c patch I've send you on 2001-11-17? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |