sed : remove lines between two keywords [ including keywords ]
The post explains a useful sed command trick to remove all lines between two keywords. The lines which has these keywords will also be removed. The below given command will show you the output on terminal and do not make any changes inside the file. So it is safe to use as preview output. sed…