From: "Fleischer, Karsten (K.)" <kfleisc1@getrag-ford.com>
To: "'JROZYCKI@ebmail.gdeb.com'" <JROZYCKI@ebmail.gdeb.com>,
"Cygwin (E-mail)" <cygwin@sourceware.cygnus.com>
Subject: RE: script-name won't execute but script-name.py will
Date: Sun, 11 Nov 2001 08:26:00 -0000 [thread overview]
Message-ID: <200111161532.fAGFW7132522@dymwsm09.mailwatch.com> (raw)
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@ebmail.gdeb.com [mailto:JROZYCKI@ebmail.gdeb.com]
> Sent: Freitag, 16. November 2001 14:33
> To: Pavel Tsekov
> Cc: cygwin@cygwin.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@syntrex.com> on 11/16/2001 03:49:37 AM
>
> To: Jeff Rozycki/EB/GDYN@GDYN
> cc: cygwin@cygwin.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@ebmail.gdeb.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/
next reply other threads:[~2001-11-16 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-11 8:26 Fleischer, Karsten (K.) [this message]
2001-11-11 8:26 JROZYCKI
2001-11-11 8:26 ` Pavel Tsekov
2001-11-11 8:26 JROZYCKI
2001-11-11 8:26 ` David Starks-Browning
2001-11-11 8:26 JROZYCKI
2001-11-11 8:26 Troy Noble
2001-11-11 8:26 JROZYCKI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200111161532.fAGFW7132522@dymwsm09.mailwatch.com \
--to=kfleisc1@getrag-ford.com \
--cc=JROZYCKI@ebmail.gdeb.com \
--cc=cygwin@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).