delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-Ninja-PIM: | Scanned by Ninja |
X-Ninja-AttachmentFiltering: | (no action) |
MIME-Version: | 1.0 |
Subject: | bash scripts failing on xp64 |
Date: | Thu, 1 Mar 2007 16:35:21 -0700 |
Message-ID: | <CF0C3F733286EE4E92C656370595F05C2C4763@server1.datalever.local> |
From: | John Lilley <jlilley AT datalever DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l21NZWGX025773 |
OS: Windows XP 64 Cygwin Version: 1.5.24-2 I'm finding that my install of cygwin will run interactive scripts just fine, but won't run them from a file. For example, here is a script in f:/temp/foo: $ cat f:/temp/foo echo "X" for i in * do echo $i done It fails if I try to source it: $ . f:/temp/foo X 'ash: f:/temp/foo: line 3: syntax error near unexpected token `do 'ash: f:/temp/foo: line 3: `do But if I paste it directly into the shell window its fine: $ echo "X" X $ for i in * > do > echo $i > done AUTOEXEC.BAT CONFIG.SYS Config.Msi Documents and Settings IO.SYS MSDOS.SYS NTDETECT.COM [...] I've re-installed cygwin, but no avail. Anyone else seeing this? Thanks, John -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |