Differences
This shows you the differences between two versions of the page.
linux_wiki:use_grep_and_regular_expressions_to_analyze_text [2016/02/28 22:49] billdozor created |
linux_wiki:use_grep_and_regular_expressions_to_analyze_text [2016/02/29 22:36] billdozor |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/ | + | Pattern matching with grep. |
---- | ---- | ||
Line 12: | Line 12: | ||
</ | </ | ||
+ | \\ | ||
Filter for " | Filter for " | ||
<code bash> | <code bash> | ||
Line 17: | Line 18: | ||
</ | </ | ||
+ | \\ | ||
Common Grep Options | Common Grep Options | ||
* -i => ignore case | * -i => ignore case | ||
Line 24: | Line 26: | ||
* -n => prefix each line of output with the line number | * -n => prefix each line of output with the line number | ||
+ | \\ | ||
Regular Expression Matching | Regular Expression Matching | ||
* ^ => starts with | * ^ => starts with |