On Mon, 14 Aug 2006 07:16:47 -0500, Henry, Mark Patrick wrote: > When embedding double-quotes (") in an already double-quoted (for > interpolation) backticked command,
Exactly how is a backticked command double-quoted? It just has `...`. Or do you mean that its interpolation rules are the same as double quotes? > one back-quotes them.. (\") and all > is well. (e.g. passing a quoted sub-command to find -exec..) Unnecessary. This shows the double quote working unescaped: $ perl -le 'print `ls "foo bar"`' ls: foo bar: No such file or directory $ touch foo\ bar $ perl -le 'print `ls "foo bar"`' foo bar > What though, if one is dealing with double quotes 3 levels deep? I've > tried various combinations of double back-quoting (\\") but all that > really achieves is quoting the backslash.. > There's 'qx'.. but I haven't hit the nail on the head yet.. Your problem is not with perl, but with the bourne shell. People like me welcomed Perl because it didn't have the frustrating quoting rules of shells. Whatever works on the bourne shell command line, that's what you use in backticks in Perl. Try comp.unix.shell. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>