Problem
1. Using sed, how do you add the tags at the beginning and at the end of a file?
2. How will you remove blank lines from a file using
(i) grep,
(ii) sed? (A blank line may contain either nothing or only whitespace characters.)
3. How do you locate lines beginning and ending with a dot using
(i) grep,
(ii) sed?