Function: gnus-uu-command

gnus-uu-command is a byte-compiled function defined in gnus-uu.el.gz.

Signature

(gnus-uu-command ACTION FILE)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-uu.el.gz
;; Inputs an action and a filename and returns a full command, making sure
;; that the filename will be treated as a single argument when the shell
;; executes the command.
(defun gnus-uu-command (action file)
  (let ((quoted-file (shell-quote-argument file)))
    (if (string-match "%s" action)
	(format action quoted-file)
      (concat action " " quoted-file))))