delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/16/10:32:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200111161532.fAGFW7132522@dymwsm09.mailwatch.com>
From: "Fleischer, Karsten (K.)" <kfleisc1 AT getrag-ford DOT com>
To: "'JROZYCKI AT ebmail DOT gdeb DOT com'" <JROZYCKI AT ebmail DOT gdeb DOT com>,
"Cygwin (E-mail)" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: script-name won't execute but script-name.py will
Date: Fri, 16 Nov 2001 10:19:52 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.15)
HOP-COUNT: 1
X-MAILWATCH-INSTANCEID: 0102000263e9d391-ce7c-4701-a660-7b0de70bbfbc
X-OriginalArrivalTime: 16 Nov 2001 15:32:07.0961 (UTC) FILETIME=[DA0D9890:01C16EB3]

Hi,
you _have_ to specify the extension. You have to do this on every UNIX system.
Cygwin only allows you to leave out the .exe extension.

HTH,
Karsten

> -----Original Message-----
> From: JROZYCKI AT ebmail DOT gdeb DOT com [mailto:JROZYCKI AT ebmail DOT gdeb DOT com]
> Sent: Freitag, 16. November 2001 14:33
> To: Pavel Tsekov
> Cc: cygwin AT cygwin DOT com
> Subject: Re: script-name won't execute but script-name.py will
> 
> 
> Pavel,
> We are on NT 4.0.  I believe I have proper permissions 
> because I can run the
> script when I tack on the script's extension, such as pl or 
> awk.  The response
> is "command not found", not permission denied... Here is some output:
> 
> bin $ pwd
> /home/jrozycki/bin
> bin $ ll
> total 51
> drwxr-xr-x    5 jrozycki users        4096 Nov 15 19:09 ./
> drwxr-xr-x   10 jrozycki users        8192 Nov 15 15:55 ../
> -rwxr-xr-x    1 jrozycki users         735 Nov 15 14:41 maxcom.py*
> <snip>
> bin $ maxcom
> bash: maxcom: command not found
> bin $ ./maxcom
> bash: ./maxcom: No such file or directory
> bin $ maxcom.py
> 
> Incorrect Syntax - maxcom.py  char INPUTFILE  OUTPUTFILE
> bin $ path
> /cygdrive/f/bin
> /cygdrive/d/Applications
> /usr/local/bin
> /usr/bin
> /bin
> /home/jrozycki/bin
> <snip>
> 
> 
> 
> 
> 
> Pavel Tsekov <ptsekov AT syntrex DOT com> on 11/16/2001 03:49:37 AM
> 
> To:   Jeff Rozycki/EB/GDYN AT GDYN
> cc:   cygwin AT cygwin DOT com
> Subject:  Re: script-name won't execute but script-name.py will
> 
> 
> 
> Do you have the proper permissions set on your
> script files ? Are you running a Win9x or NT ?
> 
> JROZYCKI AT ebmail DOT gdeb DOT com wrote:
> >
> > Troy,
> > The interpreter line is already specfied on the first line 
> of all my scripts.
> > So something else must be the culprit.
> 
> 
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019