Table of Contents

Case Study 0x9: Fun with grep

The ninth case study in the greatest class I will ever take.

Objectives

I will demonstrate my super-grep powers!

Procedure

lab46:~$ cat pelopwar.txt | grep -c coast
9
lab46:~$ cat pelopwar.txt | grep -wc coast
8
lab46:~$ cat pelopwar.txt | grep -wc ".*Dorian  "
0