You're replying to a comment by Rahul.

Rahul Permalink
March 10, 2016, 06:38

Iam trying to remove a test segment frequently occurs in a file. I have a matching keyword [let suppose FIND_WORD(---------
-----------
-----------);
is terminating after 2 or 3 lines at " );" ]but i need to remove next few lines also till ");"
I am using
if ($line =~ m/FIND_WORD/) {return 0;}
which removes one line
I need to remove till ");"

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "unix_303": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.