What is the correct syntax for using sed?
(a) sed options file(s)
(b) sed options ‘action’
(c) sed options ‘address action’ file(s)
(d) sed ‘action’ file(s)
The question was posed to me in an interview for job.
This is a very interesting question from sed command topic in portion Filters using Regular Expressions of Unix