delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/28/16:44:03

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
From: "Hannu E K Nevalainen" <_garbage_collector_ AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: "which" command does not expand "~" in path (base-files update needed)
Date: Tue, 28 Sep 2004 22:42:55 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEGEOPDOAA._garbage_collector_@telia.com>
MIME-Version: 1.0
In-Reply-To: <Pine.CYG.4.58.0409281447210.2292@fordpc.vss.fsi.com>
X-IsSubscribed: yes

you wrote:

> On Tue, 28 Sep 2004, Christopher Faylor wrote:
> 
>> On Tue, Sep 28, 2004 at 02:43:38PM -0500, Brian Ford wrote:
>>> On Tue, 28 Sep 2004, Christopher Faylor wrote:
>>>> Of course there is a simple solution: lose the quotes.  AFAICT,
>>>> they aren't needed.
>>> 
>>> IMHO, they are.  Windows programs often put directories containing
>>> spaces in the system path.  ex: 
>>> 
>>> /cygdrive/c/Program Files/ATI Technologies/ATI Control Panel
>> 
>> Try the above with a PATH that contains spaces.  Spaces are
>> preserved. 
> 
> Ugh..., you're right.  I'm sure I've been bitten by something very
> similar to this before though (scratches head)?

Spaces in arguments (e.g. filenames) always bites, eventually.
/giggle/ There is no escape ;-)


/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems            --72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--

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