On Tue, 16 Jan 2007 00:46:22 -0600, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
g_shell_quote() doesn't do really more than escaping the given string. Ok it also takes care of already existing quotes in the string, but as mentioned above this really should not happen. So I used my first idea and it should be fixed in SVN r1192. Btw I did some testing with German umlauts and it already works.
Another thing that can cause problems is the exclamation mark:
mkdir 'Yahoo!' cd "Yahoo!" bash: !": event not found
But I think this is also not too common.
Thanks, I changed the code to use g_shell_quote(). Let's hope, it is robust enough now.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key