May 12, 2014 0

using sed to process file and delete lines matching a pattern

By in linux
sed '/pattern to match/d' ./infile >> outfile

or

cat file | sed '/pattern to match/d' >> ourfile

Tags: , ,


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/mgis.dk/about/wp-includes/class-wp-comment-query.php on line 399

Leave a Reply