delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/15/22:24:39

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Can not start UltraEdit using cygwin path
Date: Sun, 15 Oct 2006 21:23:57 -0500
Lines: 31
Message-ID: <eguqfv$q96$1@sea.gmane.org>
References: <4532D387 DOT AC25A4B2 AT dessent DOT net> <BAY21-F175DFD03F91F9E2EB5F331E9090 AT phx DOT gbl>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <BAY21-F175DFD03F91F9E2EB5F331E9090@phx.gbl>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

lin q wrote:
>> From: Brian Dessent <brian AT dessent DOT net>
>> Reply-To: cygwin AT cygwin DOT com
>> To: cygwin AT cygwin DOT com
>> Subject: Re: Can not start UltraEdit using cygwin path
>> Date: Sun, 15 Oct 2006 17:34:15 -0700
>>
>> lin q wrote:
>>
>> >   If I run it with cygwin path like this,
>> >
>> > uedit /cygdrive/c/tmp/log
>> >
>> >   UltraEdit says the path is wrong.
>>
>> UltraEdit is not a Cygwin application.  How on earth do you expect it to
>> understand something beginning in /cygdrive?  Look into cygpath.
> I know cygpath, but it is easier to just type in DOS path than to use 
> cygpath each time.
Use some imagination. How about:

uedit ()
{
   uedit32.exe $(cygpath -u "$@") &
}

-- 

Andrew DeFaria <http://defaria.com>
I just got skylights put in my place. The people who live above me are 
furious!


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