www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/13/09:42:44

From: earl DOT chew AT altavista DOT net
Subject: bash -s from .bat file
13 Jul 1998 09:42:44 -0700 :
Message-ID: <199807130723.DAA14907.cygnus.gnu-win32@web02.globecomm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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