This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cd to the path including space.
On Thu, Jan 08, 2009 at 09:57:48PM +0000, Eric Blake wrote:
>Christopher Faylor <cgf-use-the-mailinglist-please <at> cygwin.com> writes:
>
>>
>> On Thu, Jan 08, 2009 at 04:46:26PM +0000, 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.
>
>Huh? My example works just fine; it's yours that is broken (since ''
>surpresses the innermost $() command substitution):
I stand corrected. I should have tried this before sending it.
cgf
--
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/