Function: eshell/map-lines
eshell/map-lines is a byte-compiled function defined in
esh-worker.el.gz.
Signature
(eshell/map-lines FUNCTION)
Documentation
Map each line of output of another command to FUNCTION.
When outputting string data to this worker, it will call FUNCTION once per line of text. When outputting other data types to this worker (e.g. lists), it will call FUNCTION once with the specified value.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-worker.el.gz
(defun eshell/map-lines (function)
"Map each line of output of another command to FUNCTION.
When outputting string data to this worker, it will call FUNCTION once
per line of text. When outputting other data types to this
worker (e.g. lists), it will call FUNCTION once with the specified
value."
(eshell-map-lines-worker-create :function function))