What do these regular expressions match how do you use grep


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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What do these regular expressions match how do you use grep
Reference No:- TGS02670888

Expected delivery within 24 Hours