Function: nnspool-sift-nov-with-sed

nnspool-sift-nov-with-sed is a byte-compiled function defined in nnspool.el.gz.

Signature

(nnspool-sift-nov-with-sed ARTICLES FILE)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnspool.el.gz
(defun nnspool-sift-nov-with-sed (articles file)
  (let ((first (car articles))
	(last (car (last articles))))
    (call-process "awk" nil t nil
		  (format "BEGIN {firstmsg=%d; lastmsg=%d;}\n $1 >= firstmsg && $1 <= lastmsg {print;}"
			  (1- first) (1+ last))
		  file)))