Function: tramp-adb-ls-output-name-less-p

tramp-adb-ls-output-name-less-p is a byte-compiled function defined in tramp-adb.el.gz.

Signature

(tramp-adb-ls-output-name-less-p A B)

Documentation

Sort "ls" output by name, ascending.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-adb.el.gz
(defun tramp-adb-ls-output-name-less-p (a b)
  "Sort \"ls\" output by name, ascending."
  (if (string-match directory-listing-before-filename-regexp a)
      (let ((posa (match-end 0)))
	(if (string-match directory-listing-before-filename-regexp b)
	    (let ((posb (match-end 0)))
	      (string-lessp (substring a posa) (substring b posb)))))))