Function: tramp-get-remote-uid-with-perl
tramp-get-remote-uid-with-perl is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-get-remote-uid-with-perl VEC ID-FORMAT)
Documentation
Implement tramp-get-remote-uid for Tramp files using a Perl script.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-uid-with-perl (vec id-format)
"Implement `tramp-get-remote-uid' for Tramp files using a Perl script."
(tramp-send-command-and-read
vec
(format "%s -le '%s'"
(tramp-get-remote-perl vec)
(if (equal id-format 'integer)
"print $>"
"print \"\\\"\", scalar getpwuid($>), \"\\\"\""))))