Yup, just for the record and to explain the underlying mechanism: - system and popen use 'sh -c' - sh is really bash in the case at hand - the only characters that need escaping within double-quotes in bash are $, \ and ` (source: bash manpage under QUOTING)
I am not sure what other bourne-type shells do, but I suspect that the above is valid for them, too. Cheers, Andree On Sat, 2006-07-29 at 21:28 -0400, Steven M. Robbins wrote: > Quoting Bruno Cornec <[EMAIL PROTECTED]>: > > > Hello, > > > > Sorry to come back to you only now. > > This bug has also an entry in the main mondo bug system > > (https://developer.berlios.de/bugs/?func=detailbug&bug_id=7421&group_id=2524) > > That report deals with the quote character ('), whereas I had trouble > with the back-quote (`). > > I was actually able to back up files with quote and also files with > ampersand (&) in their name. > > -Steve > > -- Andree Leidenfrost @ Debian Developer Sydney - Australia
signature.asc
Description: This is a digitally signed message part