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: <43335B9D.2010300@byu.net> Date: Thu, 22 Sep 2005 19:34:21 -0600 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Alex Genkin CC: cygwin AT cygwin DOT com Subject: Re: calling cygwin executables from Windows References: <16f801c5bfdd$04d8c580$874b0680 AT AG> In-Reply-To: <16f801c5bfdd$04d8c580$874b0680@AG> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Alex Genkin on 9/22/2005 7:16 PM: > Hi, > I like to use gnu text utils like join or sort from Windows command ^^^^^^^^^^^^^^ The former GNU textutils package is now part of the GNU coreutils package. > prompt, not from Cugwin bash. > This mostly works fine unless you are trying to use a file tha is not in > the current directory. Looks like those utils get confused about Windows > paths. Is that right? No, you are mistaken. If you have c:\cygwin\bin (or the correct location according to where you installed) in your path, then all of the GNU coreutils are available from the Windows command prompt. Cygwin apps favor POSIX paths, so I would recommend getting used to /cygdrive/c/mydir/myfile instead of c:\mydir\myfile. But in general the coreutils, like most other cygwin apps, can handle either style, and behavior to the contrary should be reported to this list so I can decide whether it is worth another cygwin-local patch to coreutils. Furthermore, the Windows command prompt is pretty lame (short command line limit, ugly quoting rules, etc.), so why not get used to "Cugwin" bash? (OK, I'm biased here, as I maintain bash as well as coreutils. :) - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net volunteer cygwin coreutils maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDM1uc84KuGfSFAYARAmqjAKCIXd+FYzdBow/xhGgMwsLttuNXhgCguKJr zyQFPwU5xs+smeEG08hBBOs= =WmHz -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/