Function: tramp-get-remote-uid-with-id
tramp-get-remote-uid-with-id is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-get-remote-uid-with-id VEC ID-FORMAT)
Documentation
Implement tramp-get-remote-uid for Tramp files using id.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-uid-with-id (vec id-format)
"Implement `tramp-get-remote-uid' for Tramp files using `id'."
(tramp-send-command-and-read
vec
(format "%s -u%s %s"
(tramp-get-remote-id vec)
(if (equal id-format 'integer) "" "n")
(if (equal id-format 'integer)
"" "| sed -e s/^/\\\"/ -e s/\\$/\\\"/"))))