From: scottk@utig.ig.utexas.edu (Scott Kempf)
Subject: Re: Shell scripts?
27 Jan 1997 18:28:27 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199701272214.QAA04085.cygnus.gnu-win32@utig.ig.utexas.edu>
Original-To: jan.linnell@omgroup.com, sac24983@saclink.csus.edu
Original-Cc: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

It is possible that you have more than one version of bash.
Make sure that all your bash.exe and sh.exe are the same
file length.  Fork sometimes grabs the wrong executable.

#!/usr/local/bin/perl.exe

Will not work.  Nor will "#!/bin/sh -x".

I've made a patch to winsup/spawn.cc that seems to fix this.
I haven't sent it out yet, since I wanted to make sure it
was right.  It seems that every version of UNIX I've tested
rewrites the arguments a little differently, so I just did
my own style.

Can anyone tell me where I might find POSIX or X/OPEN system
standards on the web?

			    Scott
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
