go ahead... be a heretic | |
PerlMonks |
Re: How to comment out lines in a text?by jeffenstein (Hermit) |
on Mar 23, 2002 at 21:43 UTC ( [id://153836]=note: print w/replies, xml ) | Need Help?? |
sed -e '/^MYTAG/,/);/s/^/#/' < input.txt > output.txt
In Section
Seekers of Perl Wisdom
|
|