10 Basic examples of SED to perform per line action (print/delete)
sed: remove all leading and ending blank whitespace from a file
sed :Replace whole line when match found
sed: Replace string based on line number (certain line)
sed: Insert multiple lines before or after pattern match
sed: match string and append new line (before or after)
sed: Insert character in the beginning or end of line with matched pattern
sed: insert word after match in middle of the line
sed: case insensitive actions (search replace delete..)
sed: delete all blank lines from a text file
sed: perform search and replace only on specific lines (not globally)
sed: add or append character at beginning or end of line (row) of a file
sed: Ignore whitespace while matching a pattern