delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Eric Blake <ebb9 AT byu DOT net> |
Subject: | Re: cd to the path including space. |
Date: | Thu, 8 Jan 2009 16:46:26 +0000 (UTC) |
Lines: | 33 |
Message-ID: | <loom.20090108T164518-31@post.gmane.org> |
References: | <uiacm45co51e8tdbo2e6tnjqf34c7vre0m AT 4ax DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
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 |
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)")" > > 2- In the cygwin/bash, the path's delimitor is / instead of \. cygpath takes care of that for you > > 3- In the cygwin/bash, if the space are included in the path, it will > be troublesome. quoting the cygpath command substitution takes care of that for you > > 4- Furthermore, the cygwin use the following path as the initial part > of its path: > > /cygdrive/c/... cygpath takes care of that for you -- Eric Blake -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |