scripts and exe file extensions in tcsh

Robinow, David drobinow@dayton.adroit.com
Mon Jul 30 13:45:00 GMT 2001


 You may find the following reference useful
     http://www.perl.com/pub/a/language/versus/csh.html

 I'm no shell expert, but as far as I know there's nothing in Cygwin
preventing use of the c-shell.  It's just that nobody has ported it.
 I once had your problem and solved it with
     cp /bin/tcsh.exe /bin/csh.exe

 This is, obviously, not guaranteed to work in all cases.

 As for ".exe.exe" not running, I'm curious as to how you managed to find
that out.  In any case my answer is "don't do that".

-----Original Message-----
From: Patt, Vladimir [ mailto:vladimir@emc.co.il ]
Subject: RE: scripts and exe file extensions in tcsh


Thanks, for quick response!
My files starts with "#!/usr/bin/csh", you say that, I have to change all
scripts in c-shell's to shell, doesn't cygwin support c-shell?

Obviously "test.exe" was an example filename. The file with extension
".exe.exe" doesn't run. The file with '.exe' extension run's from path but
only if it called without extension. In UNIX I can run any file marked 'x'
executable in his attributes. 

Cheers,
Vladimir

--
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/



More information about the Cygwin mailing list