Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: To: Cc: Subject: Re: sort kills cygwin Date: Tue, 14 Jan 2003 14:34:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/