thanks for you replay :)
but i want to know what are the function of two variables $comment ,, $block
please explain me carefully cuz iam newbie :) .
and if i want to instead of printing the commented zone in the shell
i want how to make that inside the file affecting the matched zone only
and iam thankful for you