sed ‘/pattern to match/d’ ./infile >> outfile or cat file | sed ‘/pattern to match/d’ >> ourfile
Tags: cat, regex, sed