bash -s from .bat file

earl.chew@altavista.net earl.chew@altavista.net
Mon Jul 13 01:02:00 GMT 1998


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



More information about the Cygwin mailing list