Re: cd to the path including space.

2009-01-08 Thread Eric Blake
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

cd to the path including space.

2009-01-08 Thread Hongyi Zhao
Hi all, I want to jump to the following path with a cygwin/bash command: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7\fontconfig\cache In my case, I've the following issues: 1- I only know that use the following command to obtain the the above path's stem: findtexmf

Re: cd to the path including space.

2009-01-08 Thread Larry Hall (Cygwin)
On 01/08/2009, Hongyi Zhao wrote: 3- In the cygwin/bash, if the space are included in the path, it will be troublesome. FWIW, this is not specific to Cygwin. You'd see the same problem in Windows using the command prompt. Quoting, as Eric points out, is the solution. -- Larry Hall

Re: cd to the path including space.

2009-01-08 Thread Hongyi Zhao
On Thu, 8 Jan 2009 16:46:26 + (UTC), Eric Blake e...@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)) See the

Re: cd to the path including space.

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 04:46:26PM +, Eric Blake wrote: findtexmf psfonts_t1.map cd $(cygpath -u $(findtexmf psfonts_t1.map)) cd $(cygpath -u '$(findtexmf psfonts_t1.map)') will probably work a little better. As Eric knows, you can't nest quotes that way. cgf -- Unsubscribe info:

Re: cd to the path including space.

2009-01-08 Thread Eric Blake
Christopher Faylor cgf-use-the-mailinglist-please at cygwin.com writes: On Thu, Jan 08, 2009 at 04:46:26PM +, Eric Blake wrote: findtexmf psfonts_t1.map cd $(cygpath -u $(findtexmf psfonts_t1.map)) cd $(cygpath -u '$(findtexmf psfonts_t1.map)') will probably work a little

Re: cd to the path including space.

2009-01-08 Thread Christopher Faylor
On Thu, Jan 08, 2009 at 09:57:48PM +, Eric Blake wrote: Christopher Faylor cgf-use-the-mailinglist-please at cygwin.com writes: On Thu, Jan 08, 2009 at 04:46:26PM +, Eric Blake wrote: findtexmf psfonts_t1.map cd $(cygpath -u $(findtexmf psfonts_t1.map)) cd $(cygpath -u

Re: cd to the path including space.

2009-01-08 Thread Hongyi Zhao
On Thu, 8 Jan 2009 16:46:26 + (UTC), Eric Blake e...@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))