delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/28/16:18:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <37276D08.EA2419D9@cg.NRCan.gc.ca>
Date: Wed, 28 Apr 1999 16:18:16 -0400
From: Jim Craven <craven AT cg DOT NRCan DOT gc DOT ca>
X-Mailer: Mozilla 4.5 [en] (WinNT; U)
X-Accept-Language: en
Mime-Version: 1.0
To: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: (t)ch scripts on the PATH

Hello,

Simply put, can (t)csh scripts be run from anywhere on the PATH
in a B20.1 environment?  

I am using tcsh.exe downloaded from  gw.com and provided by 
Corinna Vinschen.  It is  installed in /bin and invoked in the 
1st line of a script as #!/bin/tcsh.

If I run a csh script from the current pwd (eg ./cshscript) it works.
If I pick it up off elsewhere in the path then it fails
with a 'Permission denied.' message.

The problem occurs no matter whether the shell I use to invoke
the script is bash or the tcsh, or if the script is on a local or samba
drive. 

Thanks for any help and apologies if I have misunderstood the notes
in Michael Hirmke's porters text:
   ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Hirmke_Michael/GNUWin32.txt

Jim
-- 
Love is like the ozone layer,         |Jim Craven craven AT cg DOT NRCan DOT gc DOT ca|
   You don't miss it until it's gone. | Geological Survey of Canada    |
        ---Frank Drebbin, Police Squad| 615 Booth St., Rm 211, Ottawa  |
--------------------------------------| K1A 0E9 (613) 996-9935---------|

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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