From: Paul Lutus Date: 2006-10-06T00:40:05+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 ? But you've just posted the solution -- single quote the argument. When you post a problem and seek a solution, please make sure to state the problem clearly, like this: 1. I wanted this: ________________________ 2, But instead, I got this: _________________________ 3. Here is how (2) differs from (1): _____________________ 4. Here are the reasons I can't apply the obvious fix: _______________ -- Paul Lutus http://www.arachnoid.com