[Klug-general] Bash quote woes!

Mike Evans mike at tandem.f9.co.uk
Tue Jan 27 17:43:59 UTC 2009


I think the $connecteddrives will just substitute in the text - and the 
quotes in it will then not be escaped.  When you put that value together 
try using \\\"  instead of \" .  That way you will end up with \" in 
connecteddrives instead of " and the backslash should escape it the 
second time the shell interprets it.

Mike



More information about the Kent mailing list