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 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: <20090108184458 DOT GC3521 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/