bbe remove line contains code example
Example: remove line with match command
Use d option at the end of sed command string for deleting line of matches.
sed -i "" "s/matching_pattern/d" file.txt
Use d option at the end of sed command string for deleting line of matches.
sed -i "" "s/matching_pattern/d" file.txt