Perl Monk, Perl Meditation | |
PerlMonks |
How to remove a whole line if matches a keyword in a file.by Rahul2772 (Initiate) |
on Aug 22, 2016 at 10:08 UTC ( [id://1170154]=perlquestion: print w/replies, xml ) | Need Help?? |
Rahul2772 has asked for the wisdom of the Perl Monks concerning the following question:
I want to remove a line in the file if it matches with a "Keyword" through a script.
Script is taking an input file and writing in modified output file i need to add a snippet of code so that if a keyword match it will skip that line and jump to further line.
Back to
Seekers of Perl Wisdom
|
|