From: Timothy Hunter Date: 2006-10-06T20:50:16+09:00 Subject: Re: script arg with doble quote Une b�vue wrote: > when i have a path like that : > > /path/to/"Hello\ world"/ > > this string being the argument of a ruby script (the same does apply for > shell scripts) i don't get it right but rather : > > /path/to/Hello world/ > > the doble quotes vanished due to shell. > > i get this arg by the Finder (Mac OS X) > > then, i can't change it because if the argument where single quotes > wrapped like that : > > '/path/to/"Hello\ world"/' > > i get the right arg, saying : > > /path/to/"Hello world"/ > > someone sees a workaround ? > > > Just escape the double quotes the same way you escape the blank: \"Hello,\ world\"