Variable: tramp-shell-print-quoted-string
tramp-shell-print-quoted-string is a variable defined in
tramp-sh.el.gz.
Value
"quoted=`echo \"$1\" | sed -e \"s/\\\"/\\\\\\\\\\\\\\\\\\\"/g\"`\nprintf \"\\\"%%s\\\"\" \"$quoted\""
Documentation
Shell script to print a lispy string.
Format specifiers are replaced by tramp-expand-script, percent
characters need to be doubled.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defconst tramp-shell-print-quoted-string "\
quoted=`echo \"$1\" | sed -e \"s/\\\"/\\\\\\\\\\\\\\\\\\\"/g\"`
printf \"\\\"%%s\\\"\" \"$quoted\""
"Shell script to print a lispy string.
Format specifiers are replaced by `tramp-expand-script', percent
characters need to be doubled.")