The Purple Tiger wrote:
Hey all, This is a bit OT, but not so OT as to go to the OT list IMHO :)
System is SuSE8.2
What I am trying to do: I have a large number of html files that have a segment in them I would like to copy out and save to another file.
The segment I want is after a unique table tag [unique in that whilst there are other table tags, there are none like this one, and it is the same in each file]. I want to capture up until the closing table tag.
ALSO I am trying to make sure that the first 4 lines [if you include the table tag] and the last 4 lines [if you include the closing tag] don't get copied to the file :)
I don't ask for much, do I? ;)
You should can use a Perl script to do this. If you don't know Perl, send me the exact details of what you want to do and I'll see if I can make/adapt a Perl script I have, assuming the problem isn't all that hard. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.