История изменений
Исправление mky, (текущая версия) :
По первой части вопроса, man bash, Command Substitution.
When the old-style backquote form of substitution is used, backslash retains its literal meaning except when followed by $, `, or \.
По поводу квадратный скобок у sed:
GNU sed processes escape sequences before passing the text onto the regular-expression matching of the s/// command and Address matching.
То есть ″/\x24/″ для sed обозначает конец строки.
Исходная версия mky, :
По первой части вопроса, man bash, Command Substitution.
When the old-style backquote form of substitution is used, backslash retains its literal meaning except when followed by $, `, or \.