That should work. I tested it on a very basic file. I would recommend doing this on a copy and it will change the files in-place. (You could do perl -ni.bak -e '...' *.html and that will leave the old file in X.html.bak)
Also, this will keep START and END in the file. That may or may not be what you want.
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
In reply to Re: Pulling the "stomach" out of a directory of HTML files
by dragonchild
in thread Pulling the "stomach" out of a directory of HTML files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |