You can do both, perl will allow you to modify existing file or create new one. It will depend on your requirements. I would suggest you to do following:
In reply to Re: find a string and delete the lines associated with that..
by ashish.kvarma
in thread find a string and delete the lines associated with that..
by shweta.mehta20
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |