in reply to Re: Pulling the "stomach" out of a directory of HTML files
in thread Pulling the "stomach" out of a directory of HTML files

Just in case, the code to exclude the START and END is shown below.

perl -ni -e 'next unless $x = /START/ .. /END/; print if $x !~ /^1$|E0 +$/' *.html

Hope that this helps. Read perldoc perlop for more details on the flip-flop (scalar range) operator.

Cheers,

-- Dave :-)


$q=[split+qr,,,q,~swmi,.$,],+s.$.Em~w^,,.,s,.,$&&$$q[pos],eg,print