cd to the path including space.

Hongyi Zhao hongyi.zhao@gmail.com
Fri Jan 9 04:01:00 GMT 2009


On Thu, 8 Jan 2009 16:46:26 +0000 (UTC), Eric Blake <ebb9@byu.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/



More information about the Cygwin mailing list