Before executing a command in backticks certain preprocessing takes place:
\\
becomes\
(`echo \\\\`
->echo \\
->\
)- but if there's a
\
not followed by\
, then\
remains\
(`echo \\\ `
->echo \\
->\
) - unquoted
\
at the end of the resulting command remains\
(`echo \\`
->echo \
->\
), but this is not exactly about backticks (bash -c 'echo \'
->\
) \"
remains\"
(`echo \"`
->echo \"
->"
)- but in double quotes
\"
becomes"
("`echo \\\"`"
->echo \"
->"
) \$
becomes$
(`a=1; echo \$a`
->a=1; echo $a
->1
)