How To Delete Lines Using PERL Edit In Place

Author: , March 23rd, 2020

Using PERL, we can easily do a search and replace across multiple files. perl -ni -w -e ‘print unless m/^gdb\d+/;’ yourFileSpec