Function: tramp-get-remote-gid-with-id

tramp-get-remote-gid-with-id is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-get-remote-gid-with-id VEC ID-FORMAT)

Documentation

Implement tramp-get-remote-gid for Tramp files using id.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-gid-with-id (vec id-format)
  "Implement `tramp-get-remote-gid' for Tramp files using `id'."
  (tramp-send-command-and-read
   vec
   (format "%s -g%s %s"
	   (tramp-get-remote-id vec)
	   (if (equal id-format 'integer) "" "n")
	   (if (equal id-format 'integer)
	       "" "| sed -e s/^/\\\"/ -e s/\\$/\\\"/"))))