* GNU grep 2.5.1 on lines starting with a number and colon
-grep -nH -e "Universal Time" ../lispref/*
+grep -nH --color=always -e "Universal Time" ../doc/lispref/*
../lispref/os.texi:1010:0:00 January 1, 1970 UTC (Coordinated \e[01;31mUniversal Time\e[00m)
* GNU grep 2.5.1 with context lines
agrep -n "INFO tree" ../info/*
../info/dir: 6: File: dir Node: Top This is the top of the INFO tree
+* bzr grep with Bazaar plugin [grep]
+
+bzr grep --color=always -in "org-element-map"
+\e[35mlisp/org/org.el\e[1;36m:\e[0m21047\e[1;36m:\e[0m (\e[1;31morg-element-map\e[0m
+
+* git-grep
+ with '[diff "lisp"] xfuncname = "^(\\(.*)$"' in .gitconfig
+ and '*.el diff=lisp' in .gitattributes
+
+git --no-pager grep -inH -p -e "org-element-map"
+lisp/org/org.el\e[36m=\e[m20969\e[36m=\e[m(defun org-fill-paragraph (&optional justify)
+lisp/org/org.el\e[36m:\e[m21047\e[36m:\e[m (\e[1;31morg-element-map\e[m
+
* unknown greps
grep -nH -e "xyzxyz" ../info/*
\f
-Copyright (C) 2005, 2006, 2007
-Free Software Foundation, Inc.
+Copyright (C) 2005-2016 Free Software Foundation, Inc.
COPYING PERMISSIONS:
- This document is free software; you can redistribute it and/or modify
+ This document is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Local Variables:
+;;; eval: (let ((inhibit-read-only t) (compilation-filter-start (point-min))) (save-excursion (goto-char (point-max)) (grep-filter) (set-buffer-modified-p nil)))
;;; buffer-read-only: t
;;; End: