This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bash fails to redirect inside script


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.van.ommen@utas.edu.au                     | Australia  7001
_________________________________________________________________ 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]