Answered You can hire a professional tutor to get the answer.

QUESTION

Modify wgrep to take an optional -w option that specifies the window size; so wgrep -w 3 UNIX text should print three lines before and after each...

please help me these 2 question. Thank you

1.Modify wgrep to take an optional -w option that specifies the window size; so

wgrep -w 3 UNIX text

should print three lines before and after each line from text that contains the pattern UNIX.

2.Modify wgrep to take a variable number of filenames as arguments. Precede each output line with the name of the file in which the match occurs (as grep does).

7: Modify wgrep to take an optional -w option that specifies the window size; sowgrep -w 3 UNIX textshould print three lines before and after each line from text that contains the pattern UNIX.8: Modify wgrep to take a variable number of filenames as arguments. Precede each output linewith the name of the file in which the match occurs (as grep does).
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question