Further Reading
man grep
andinfo grep
andman rg
- At least go through all options ;)
- Usage section in
info grep
has good examples as well
- A bit of history
- Q&A on stackoverflow/stackexchange are good source of learning material, good for practice exercises as well
- Learn Regular Expressions (has information on flavors other than BRE/ERE/PCRE too)
- regular-expressions — tutorials and tools
- rexegg — tutorials, tricks and more
- stackoverflow: What does this regex mean?
- online regex tester and debugger — by default
pcre
flavor
- My ebooks on CLI text processing tools
Here are resource links for specific topics:
- ASCII reference and locale usage
- unix.stackexchange: When to use grep, sed, awk, perl, etc
- stackoverflow: Grep output with multiple Colors
- unix.stackexchange: Multicolored Grep
- unix.stackexchange: grep -r vs find+grep
- unix.stackexchange: Counting the number of lines having a number > 100
Happy learning and please do let me know your feedback :)