Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com X-Lotus-FromDomain: JPMORGAN@SMTP From: "Noel L Yap" To: matts@bluesguitar.org cc: Cygwin@Sourceware.Cygnus.Com Message-ID: <8525692A.006F488C.00@nyc-ntgw-n01.ny.jpmorgan.com> Date: Fri, 28 Jul 2000 16:15:32 -0400 Subject: Re: sh problem Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline OK, I think the problem you're having is the same one I'm having. I've rewritten my script asdf.sh to be: #!/bin/sh echo $* ./asdf.sh And ran it with: ./asdf.sh "a b" 'c d' e\ f g h The output I got was: a b c d e f g h When I expected it to go into an infinite loop. Noel matts@bluesguitar.org on 2000.07.28 16:06:01 To: yap_noel@jpmorgan.com cc: Cygwin@sourceware.cygnus.com Subject: Re: sh problem It says something along the lines of ". is not a recognized command". At the moment, I deal with the problem by putting "." in my path, but that doesn't seem like a very good solution. > In what way does it fail? > > Noel > > > > > matts@bluesguitar.org on 2000.07.28 15:35:14 > > To: cygwin@sourceware.cygnus.com > cc: (bcc: Noel L Yap) > Subject: sh problem > > > > > I'm having some problems with sh under windows 2k. It seems if I try > writing a script that references ".", as in: > > #!/bin/sh > > # access some other shell script > ./myscript.sh > > > This will fail under windows 2k, but works fine under NT 4. Is this a known > problem? > > cheers, > -Matt Smith > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe@sourceware.cygnus.com > > > > > > > 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. > > 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