This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| grep [2025/05/01 23:58] – ken | grep [2025/05/02 00:00] (current) – ken | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| $ grep ' | $ grep ' | ||
| </ | </ | ||
| - | === Using awk command (exact order): | + | **Using awk command (exact order):** |
| < | < | ||
| $ awk '/ | $ awk '/ | ||
| </ | </ | ||
| - | === Using awk command (any order): | + | **Using awk command (any order):** |
| < | < | ||
| $ awk '/ | $ awk '/ | ||
| - | </ | + | </ |
| - | === Using sed command (exact order): | + | **Using sed command (exact order):** |
| < | < | ||
| $ sed '/ | $ sed '/ | ||
| - | </ | + | </ |
| - | === Using sed command (any order): | + | **Using sed command (any order):** |
| < | < | ||
| $ sed '/ | $ sed '/ | ||