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 |
Message-ID: | <5100B8473B3ED511B22B009027DE29093CF16C@AKASH> |
From: | Surendar Singh Bisht <suren AT duncaninfotech DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <cygwin AT cygwin DOT com>, chet AT po DOT CWRU DOT Edu |
Subject: | RE: A small problem in Shell Scripts while using the built-in "re |
ad" function -- Options not recognised | |
Date: | Fri, 18 Jan 2002 11:33:10 +0530 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2653.19) |
Corinna Thanks !! & Thanks Chet!! The Workaround is doing great. Now the things are back in the places. Warm Regards Suren -----Original Message----- From: Chet Ramey [mailto:chet AT nike DOT ins DOT cwru DOT edu] Sent: Thursday, 17 January 2002 7:52 PM To: cygwin AT cygwin DOT com Subject: Re: A small problem in Shell Scripts while using the built-in "read" function -- Options not recognised > 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. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet) Chet Ramey, CWRU chet AT po DOT CWRU DOT Edu http://cnswww.cns.cwru.edu/~chet/ -- 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 |