This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash -s from .bat file
- To: gnu-win32 at cygnus dot com
- Subject: bash -s from .bat file
- From: earl dot chew at altavista dot net
- Date: Mon, 13 Jul 1998 03:23:26 -0400 (EDT)
I have a batch file which I wrote for b18. It basically
reads:
sh -s %1 < \a\b\c\foo.sh
This worked as expected, but fails under b19.1. I notice
a. I must use bash instead of sh.
b. Even after using bash, the contents of the script
are not read and executed correctly. Weird things
happen (eg : causes much confusion).
Using:
sh //e/a/b/c/foo.sh %1
appears to work... but unfortunately is not drive
independent :-(
Can anyone explain what's going on?
Earl
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".