delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/26/22:47:30

From: jan DOT linnell AT omgroup DOT com (Jan Linnell)
Subject: Shell scripts?
26 Jan 1997 22:47:30 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32EC4369.31DF.cygnus.gnu-win32@omgroup.com>
Mime-Version: 1.0
X-Mailer: Mozilla 3.0 (X11; I; OSF1 V3.2 alpha)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Newbie to gnu-win32, need help with a fairly trivial thing:

Cannot simply get a shell scripts to run:

  bash$ sh XXX

works fine but i cannot get

  bash$ XXX

to work

(always get bash.exe: ./XXX: No such file or directory, )

Have tried with
 - different extentions
 - different PATH
 - changing PATHEXT n the registry
 - tried with different #!/... on the first line
   (The execute bit becomes set, but the script does not execute)
 - Have searched in the FAQ!-)
 - Etc, etc

Also, if I get this working is it possible to get e.g.

#!/usr/local/bin/perl.exe
....

working (if /usr/local/bin/perl.exe is installed!-)

/jan


-- 
Jan Linnell                    | jan DOT linnell AT omgroup DOT com
-------------------------------+------------------------
OM Technology AB               | Tel +46 8 700 06 95
Sweden                         | Fax +46 8 723 10 92
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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