delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/19/03:17:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Tas van Ommen" <tas DOT van DOT ommen AT utas DOT edu DOT au>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: bash fails to redirect inside script
Date: Fri, 19 May 2000 17:19:34 +1000
Message-ID: <NCBBLFFOCBDEIBAHAEPMOEHMCGAA.tas.van.ommen@utas.edu.au>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

I have just installed net version of cygwin.

I have the following script
#!/bin/bash
echo "Hello" > x.x

So I execute it:
BASH.EXE-2.03$ . temp.bash
: No such file or directory

What is happening?  I have a /tmp directory.  I can do either of
sh temp.bash

or type echo "Hello" > x.x manually without the error.

Any advice?

Thanks


_________________________________________________________________
Dr Tas van Ommen, Senior Research Scientist   | Postal Address:
Antarctic CRC & Australian Antarctic Division | Antarctic CRC
Tel: (03) 6226 2981   Fax: (03) 6226 2902     | GPO Box 252-80
International Tel: +61-3 6226 2981            | Hobart
www.antcrc.utas.edu.au/~tas                   | Tasmania
tas DOT van DOT ommen AT utas DOT edu DOT au                     | Australia  7001
_________________________________________________________________ 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019