Function: tramp-sh--quoting-style-options

tramp-sh--quoting-style-options is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-sh--quoting-style-options VEC)

Documentation

Quoting style options to be used for VEC.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-sh--quoting-style-options (vec)
  "Quoting style options to be used for VEC."
  (or
   (tramp-get-ls-command-with
    vec "--quoting-style=literal --show-control-chars")
   ;; ls on Solaris does not return an error in that case.  We've got
   ;; reports for "SunOS 5.11" so far.
   (unless (tramp-check-remote-uname vec tramp-sunos-unames)
     (tramp-get-ls-command-with vec "-w"))
   ""))