You're replying to a comment by ankush.

October 09, 2008, 23:32

Thanks once again. I was thinking of learning sed since a long time. Your post now gives me a motivation and a very good way to start it.

One question: PERL doesn't allow multi-line comments. How to emulate it using sed.
Ex:
If I give the following at some part of my code:
/*
line 1 of code to be commented
line 2
.
.
.
*/
actual code
.
.
/*
another commented section
*/

How to perl-comment these lines using sed?

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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