delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/22/21:35:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: <43335B9D.2010300@byu.net>
Date: Thu, 22 Sep 2005 19:34:21 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Alex Genkin <agenkin AT dimacs DOT rutgers DOT edu>
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>
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/

- Raw text -


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