Function: ibuffer-do-shell-command-pipe-replace
ibuffer-do-shell-command-pipe-replace is an autoloaded, interactive
and byte-compiled function defined in ibuf-ext.el.gz.
Signature
(ibuffer-do-shell-command-pipe-replace COMMAND)
Documentation
Replace the contents of marked buffers with output of pipe to COMMAND.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ibuf-ext.el.gz
;;;###autoload (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext")
(define-ibuffer-op shell-command-pipe-replace (command)
"Replace the contents of marked buffers with output of pipe to COMMAND."
(:interactive "sPipe to shell command (replace): "
:opstring "Buffer contents replaced in"
:active-opstring "replace buffer contents in"
:dangerous t
:modifier-p t)
(call-shell-region (point-min) (point-max)
command 'delete buf))