comparison .elisp/textmate.el @ 329:c35b58b40fcb

textmate.el: use egrep instead
author Augie Fackler <durin42@gmail.com>
date Tue, 11 Mar 2014 14:16:34 -0400
parents 2f865a7f84e6
children 629b500e1276
comparison
equal deleted inserted replaced
328:4f49d70f1b69 329:c35b58b40fcb
321 (command 321 (command
322 (cond ((not (string= type "unknown")) 322 (cond ((not (string= type "unknown"))
323 (concat (cond ((string= type "git") "git ls-files") 323 (concat (cond ((string= type "git") "git ls-files")
324 ((string= type "hg") "hg manifest")) 324 ((string= type "hg") "hg manifest"))
325 (if *textmate-vcs-exclude* 325 (if *textmate-vcs-exclude*
326 (concat " | grep -v " 326 (concat " | egrep -v "
327 (shell-quote-argument *textmate-vcs-exclude*)) 327 (shell-quote-argument *textmate-vcs-exclude*))
328 "") 328 "")
329 " | xargs egrep -nR " 329 " | xargs egrep -nR "
330 (if pattern (concat " --include='" pattern "' ") "") 330 (if pattern (concat " --include='" pattern "' ") "")
331 " -- " 331 " -- "