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 Message-Id: <4.3.1.2.20001020122733.02691730@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 20 Oct 2000 12:28:46 -0400 To: "John Pollock" , From: "Larry Hall (RFK Partners, Inc)" Subject: Re: new sh doesn't translate Unix-style paths for Perl? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:14 PM 10/20/2000, John Pollock wrote: >There seems to be a problem in the new sh (1.1.x). With the old sh, we were >able to invoke perl scripts directly: > >VINCENTE$ sh >$ cd >$ pwd >/cygdrive/m >$ ./make-version-info.pl >make-version-info.pl: You must specify --filename > >But the new sh doesn't seem to accept direct invocations in this style: > >$ pwd >/cygdrive/m >$ ./make-version-info.pl >./make-version-info.pl: not found > >This would be OK if we could invoke perl directly and then use the script as >an argument, and we can do this when the perl script is invoked with a >DOS-style path: > >$ perl m:\make-version-info.pl >make-version-info.pl: You must specify --filename > >but if you use a Unix style path, it doesn't work: > >$ perl /m/make-version-info.pl >Can't open perl script "/m/make-version-info.pl": No such file or directory > >Thoughts? >John Does it work in bash? Was your old "sh" ash or bash? Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com