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 -s from .bat file


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".


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