Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Lotus-FromDomain: JPMORGAN AT SMTP From: "Noel L Yap" To: matts AT bluesguitar DOT org cc: Cygwin AT Sourceware DOT Cygnus DOT 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 AT bluesguitar DOT org on 2000.07.28 16:06:01 To: yap_noel AT jpmorgan DOT com cc: Cygwin AT sourceware DOT cygnus DOT 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 AT bluesguitar DOT org on 2000.07.28 15:35:14 > > To: cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com