Function: tramp-shell-case-fold
tramp-shell-case-fold is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-shell-case-fold STRING)
Documentation
Convert STRING to shell glob pattern which ignores case.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-shell-case-fold (string)
"Convert STRING to shell glob pattern which ignores case."
(mapconcat
(lambda (c)
(if (equal (downcase c) (upcase c))
(vector c)
(format "[%c%c]" (downcase c) (upcase c))))
string
""))