delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/01/08:32:04

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: <3F017F37.56F2DBB2@dessent.net>
Date: Tue, 01 Jul 2003 05:31:51 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: example needed pls: `cygpath -c <HANDLE>'
References: <Xns93A88A37D41F9soren1Gmane AT 80 DOT 91 DOT 224 DOT 249> <3EFDDF97 DOT 29F49125 AT dessent DOT net> <Xns93A896696C0F8soren1Gmane AT 80 DOT 91 DOT 224 DOT 249> <20030701035345 DOT GC7604 AT ny-kenton2a-710 DOT buf DOT adelphia DOT net>

Soren Andersen wrote:

> In short although I see what you are doing, I think it's too simple for
> many cases and its lack of robustness makes it only marginally useful to
> me (IMHO). If you could post some typical examples of how you use it, to
> refute me, I'd be pleased.

Yes, it's quite dumb code.  It doesn't even work correctly if one of the
files doesn't exist.  However it works perfectly for what I originally
devised it for, which is using Windows editors from cygwin, as in I have
the line

alias ue="dodos /path/to/uedit32.exe $@"

in .profile, and so I can issue commands like "ue /etc/hosts*" or "ue
~/project/foo*.c" to edit files with UltraEdit as if it was a
cygwin-aware application.  Surely it will choke on arguments and almost
anything else except globs referring to existing files.

Brian

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