On Wed, Jul 30, 2014 at 1:00 AM, ESChamp <esch...@gmail.com> wrote: > 0D 0A 3C 70 72 65 3E 0D 0A > > so no invisible characters. > > > Or maybe <pre> occurs on the first line, in which case $index will have > the value 0, which is treated as false, and your program will die. > > <pre> is line 709. No other line is simply <pre>
How about the 0D 0A at the end of the line? Unless the script used "chomp", the exact line is "<pre>\r\n". -- Robert Wohlfarth