This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cd to the path including space.
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/