delorie.com/archives/browse.cgi | search |
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 |
Date: | Mon, 30 Jul 2001 16:31:44 +0100 |
Message-ID: | <5035-Mon30Jul2001163144+0100-starksb@ebi.ac.uk> |
X-Mailer: | 21.1 (patch 12) "Channel Islands" XEmacs Lucid (via feedmail 9-beta-7 I); |
VM 6.92 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid | |
From: | David Starks-Browning <starksb AT ebi DOT ac DOT uk> |
MIME-Version: | 1.0 |
To: | "Patt, Vladimir" <vladimir AT emc DOT co DOT il> |
CC: | cygwin AT cygwin DOT com |
Subject: | scripts and exe file extensions in tcsh |
In-Reply-To: | <75E2893D8DAFD411BADE00D0B7696457092513@dimona.emc.co.il> |
References: | <75E2893D8DAFD411BADE00D0B7696457092513 AT dimona DOT emc DOT co DOT il> |
On Monday 30 Jul 01, Patt, Vladimir writes: > Hi, > > I'm just installed cygwin on my nt2K. I'm new with cygwin ... In that case, you should read the documentation. Such as the FAQ. > ... so I've three questions. > 1. Running tcshell trying to run UNIX scripts but only one with no extension > can run otherwise I'm getting "Command not found" error message. I already > specified "./" in path environment variable. Read the FAQ entry "Why doesn't my shell script work?" > 2. Also there is a problem to run binary file called "test.exe.exe", but if > it called "test.exe" only "test" (without extension) command can execute a > program. "test" is a bad choice for a program name, because it conflicts with /bin/test and possibly a shell builtin. You should rule that out before reporting problems running "test.exe". > 3. And third. Path specified with single slash passed to "cd" command is not > understood by shell when running script, only double slash understood by > shell. Also if this path string specified as parameter to some my program > slashes are ignored. Are you talking about the forward or backward slash character? The forward slash ('/') is the directory separator in UNIX and Cygwin. The backward slash ('\') is the directory separator in Windows, and is an escape character in UNIX and Cygwin shells (bash, tcsh). See also the FAQ entry "How do I convert between Windows and UNIX paths?" Hope this helps. David (Cygwin FAQ maintainer) -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |