cd to the path including space.
Eric Blake
ebb9@byu.net
Thu Jan 8 16:57:00 GMT 2009
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/
More information about the Cygwin
mailing list