Which one of the following is the correct syntax for grep command?
(a) grep options filename(s)
(b) grep options pattern
(c) grep pattern filename
(d) grep options pattern filename(s)
I had been asked this question in an international level competition.
The doubt is from grep command topic in division Filters using Regular Expressions of Unix