From: Renato S. <br....@gm...> - 2013-02-12 17:33:10
|
2013/2/12 BGINFO for X <bgi...@kz...> > But, Why we think that the bug is in ls-MSYS and not in dir-CMD.exe? > I don't know, can anyone explain it to me? > Earnie explained earlier it's a Windows feature. What are you trying to achieve exactly? For example, is c:\Windows\Adam >> just an > example or the real path that you need for some reason to convert >> to Unix style? >> > > Yes, it is a real example. What I'm trying to do is very simple (copy and > paste a file to a win32 path), but I have some bug somewhere that pointed > to me to the this bug that we are talking. If I found something more I will > post it. > I just forgot that your initial issue was with quotes, not really backslashes. And you have already posted a good solution yourself at the very beginning, which is just quoting your path. Something like this: path=$(reg query <params>) your_operation "$path" |