How will you remove blank lines from a file using grep and


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?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: How will you remove blank lines from a file using grep and
Reference No:- TGS02671674

Expected delivery within 24 Hours