shell script bug

Noel L Yap yap_noel@jpmorgan.com
Mon Jul 31 05:53:00 GMT 2000


cgf@cygnus.com on 2000.07.28 22:40:54
>Then you must not be running the cygwin version of /bin/sh.
>The standard cygwin /bin/sh is based on BSD's 'ash' and it
>operates as I've indicated above.

I /am/ running /bin/sh (-rwxr-xr-x   1 nyap     jpmpsdev    68096 Jun 27 12:38
/bin/sh).  I've tried this several different ways.

1. My default shell is /bin/bash.  The script should run under /bin/sh due to
the #!/bin/sh line at the top.
2. I've also tried "/bin/sh ./asdf.sh a b c".
3. I've also tried "sh", then "./asdf.sh a b c".

I do have my directories mounted as binary.  Might that have something to do
with it?

Thanks,
Noel




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list