delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/14/09:36:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000701c2bbd9$fe4f4360$6fc82486@medschool.dundee.ac.uk>
Reply-To: <fergus AT bonhard DOT uklinux DOT net>
From: <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <bhiksha AT cs DOT cmu DOT edu>
Subject: Re: sort kills cygwin
Date: Tue, 14 Jan 2003 14:34:05 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

There are a number of commands with names common both to Windows and to
Cygwin. One example is "sort"; others are "find" and "more" and maybe "ftp"
and "telnet".

If /cygdrive/c/WINDOWS/ and /cygdrive/c/WINDOWS/COMMAND/ precede /usr/bin/
or /bin/ on your PATH then it is the Windows version of the executable, not
the Cygwin version, that will be picked up. I tried sort --version with the
Windows executable and got exactly the "not found" message you have
described.

Solution: either alter the order of the entries on your PATH or (which I
have done, not to any identifiable disadvantage) delete all Windows
references from your path. (So this is my Cygwin path:
~/bin:/usr/local/bin:/usr/bin:/bin:)

Fergus


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

- Raw text -


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