Perl: One liner

File

Remove lines with special pattern

<pre class="wp-block-preformatted">$ perl -ni -e 'print unless /pattern/' /path/to/filename
The Latest