[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep excludes

From: B.V. Raghav
Subject: Re: grep excludes
Date: Wed, 06 Jul 2016 13:19:13 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

(defun my-grep(pattern file-name)
  "My own version of grep command"
  (interactive "sPattern: \nFFind %s in file(s): ")
  (let ((cmd "grep -e"))
    ;;       ^^^^^^^^^ My Grep Command
    (grep (message "%s %s %s" cmd pattern file-name))))

If I understand correctly, you requires the change of command as
mentioned here.


(B.V. Raghav)
Ph.D. Student,
Design Programme, IIT Kanpur

reply via email to

[Prev in Thread] Current Thread [Next in Thread]