grep
Differences
This shows you the differences between two versions of the page.
| grep [2023/08/01 18:27] – created steve | grep [2026/04/10 21:56] (current) – steve | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Grep commands to do various things... ==== | ==== Grep commands to do various things... ==== | ||
| - | * grep -v ' | + | * '' |
| + | * '' | ||
| + | * The caret(^) marks the beginning of a line, the dollar ($) marks the end. | ||
| + | < | ||
| + | # Get all the seven letter words that start with a vowel, have a vowel in the fifth position and an r in the seventh position. | ||
| + | grep -E ' | ||
| + | amateur | ||
| + | angrier | ||
| + | artsier | ||
| + | atelier | ||
| + | earlier | ||
| + | emptier | ||
| + | itchier | ||
| + | opaquer | ||
| + | outdoor | ||
| + | outwear | ||
| + | unclear | ||
| + | uniquer | ||
| + | untruer | ||
| + | |||
| + | # And this is 'Words that start with two vowels, then two of anything, another vowel, and end in an r'. | ||
| + | grep -E ' | ||
| + | airier | ||
| + | author | ||
| + | earner | ||
| + | easier | ||
| + | eerier | ||
| + | either | ||
| + | oilier | ||
| + | ouster | ||
| + | </ | ||
grep.txt · Last modified: by steve
