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
*/
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
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