delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/08/17:25:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 8 Jan 2009 17:25:05 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cd to the path including space.
Message-ID: <20090108222505.GA4194@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <uiacm45co51e8tdbo2e6tnjqf34c7vre0m AT 4ax DOT com> <loom DOT 20090108T164518-31 AT post DOT gmane DOT org> <20090108184458 DOT GC3521 AT ednor DOT casa DOT cgf DOT cx> <loom DOT 20090108T215126-555 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20090108T215126-555@post.gmane.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Note-from-DJ: This may be spam

On Thu, Jan 08, 2009 at 09:57:48PM +0000, Eric Blake wrote:
>Christopher Faylor <cgf-use-the-mailinglist-please <at> cygwin.com> writes:
>
>> 
>> On Thu, Jan 08, 2009 at 04:46:26PM +0000, Eric Blake wrote:
>> >> findtexmf psfonts_t1.map
>> >
>> >cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")"
>> 
>> cd  "$(cygpath -u '$(findtexmf psfonts_t1.map)')"
>> 
>> will probably work a little better.  As Eric knows, you can't nest quotes
>> that way.
>
>Huh?  My example works just fine; it's yours that is broken (since '' 
>surpresses the innermost $() command substitution):

I stand corrected.  I should have tried this before sending it.

cgf

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