delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/08/22:29:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64,RCVD_IN_CHINA,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hongyi Zhao <hongyi DOT zhao AT gmail DOT com>
Subject: Re: cd to the path including space.
Date: Fri, 09 Jan 2009 11:28:36 +0800
Lines: 22
Message-ID: <u1hdm4h7jj0fendmgrpuopge1slijpv4dm@4ax.com>
References: <uiacm45co51e8tdbo2e6tnjqf34c7vre0m AT 4ax DOT com> <loom DOT 20090108T164518-31 AT post DOT gmane DOT org>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On Thu, 8 Jan 2009 16:46:26 +0000 (UTC), Eric Blake <ebb9 AT byu DOT net>
wrote:

>Hongyi Zhao <hongyi.zhao <at> gmail.com> writes:
>
>> 
>> Hi all,
>> 1- I only know that use the following command to obtain the the  above
>> path's stem:
>> 
>> findtexmf psfonts_t1.map
>
>cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")"

Finally, I use the following line to do the trick:

cd "$(cygpath -u "$(dirname "$(findtexmf psfonts_t1.map)")" )"

Thanks again.

-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


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