Problem
1. What do these regular expressions match?
(i) a.*b,
(ii) ..*,
(iii) ^}$.
2. How do you use grep to locate lines containing these patterns?
(i) SIGSTOP or SIGTSTP,
(ii) SIGTTIN or SIGTTOU,
(iii) harris or harrison.
3. How is the expression g* different from gg*? Devise two regular expressions that match lines longer than 10 characters.
4. Find out the name and designation of the youngest person in emp.lst who is not a director.