Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cdf9f986
Commit
cdf9f986
authored
Jul 19, 2005
by
Juri Linkov
Browse files
Examples of messages grep recognizes
parent
09cab23d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
0 deletions
+70
-0
etc/ChangeLog
etc/ChangeLog
+4
-0
etc/grep.txt
etc/grep.txt
+66
-0
No files found.
etc/ChangeLog
View file @
cdf9f986
2005-07-19 Juri Linkov <juri@jurta.org>
* grep.txt: New file.
2005-07-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* PROBLEMS (Fedora Core 4 GNU/Linux: Segfault during dumping):
...
...
etc/grep.txt
0 → 100644
View file @
cdf9f986
* Introduction -*-grep-*-
This shows the different kinds of messages grep recognizes by default and
how they are rendered. It is intended both to help you decide which matchers
you need and as a test of the matchers. Move the mouse over a colored part
to see how much text was actually matched.
Please do not edit this file in grep-mode, it may lose escape
sequences on saving. Visit this file literally for editing.
* GNU grep 2.5.1
grep -nH -e "INFO tree" ../info/*
../info/dir:6:File: dir Node: Top This is the top of the INFO tree
* GNU grep 2.5.1 with default colors
grep -nH --color=always -e "INFO tree" ../info/*
../info/dir:6:File: dir Node: Top This is the top of the [01;31mINFO tree[00m
* GNU grep 2.5.1-cvs with specified minimal colors
GREP_COLORS='mt=01;31:fn=:ln=:bn=:se=:ml=:cx=:ne' grep -nH --color=always -e "INFO tree" ../info/*
../info/dir:6:File: dir Node: Top This is the top of the [01;31mINFO tree[m
* GNU grep 2.5.1-cvs with default colors
grep -nH --color=always -e "INFO tree" ../info/*
[35m[K../info/dir[m[K[36m[K:[m[K[32m[K6[m[K[36m[K:[m[KFile: dir Node: Top This is the top of the [01;31m[KINFO tree[m[K
* GNU grep 2.5.1 on files recognized as binary
Binary file emacs-7 matches
Binary file 2005-06 matches
* GNU grep 2.5.1 on lines starting with a number and colon
grep -nH -e "Universal Time" ../lispref/*
../lispref/os.texi:1010:0:00 January 1, 1970 UTC (Coordinated [01;31mUniversal Time[00m)
* GNU grep 2.5.1: other messages
grep: ../info/dirinfo: No such file or directory
Grep exited abnormally with code 2 at Tue Jul 19 15:42:32
Grep finished with no matches found at Tue Jul 19 15:43:12
Grep finished (matches found) at Tue Jul 19 15:45:15
* agrep
agrep -n "INFO tree" ../info/*
../info/dir: 6: File: dir Node: Top This is the top of the INFO tree
* unknown greps
grep -nH -e "xyzxyz" ../info/*
../info/emacs-2:1205:10:inserts `xyzxyzxyzxyz' in the current buffer.
../info/emacs-2:1205:10-15:inserts `xyzxyzxyzxyz' in the current buffer.
../info/emacs-2:1205.10-1205.15:inserts `xyzxyzxyzxyz' in the current buffer.
../info/emacs-2 1205.10-15 inserts `xyzxyzxyzxyz' in the current buffer.
../info/emacs-2 1205.10-1205.15 inserts `xyzxyzxyzxyz' in the current buffer.
../info/emacs-2 1205 inserts `xyzxyzxyzxyz' in the current buffer.
;;; Local Variables:
;;; buffer-read-only: t
;;; End:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment