[thelist] How to split a long text file into separate files
Michael Barrett
mbarrett at triad.rr.com
Mon Oct 15 13:42:20 CDT 2001
Listers,
I have this long text file,
The result of a mail merge from an excel document.
The data in the excel doc needs to be made available on a web site. There is
no server side scripting available.
I created a neat and clean table layout to hold the data, brought the html
into word, then merged with the data in the excel doc to produce a long
document with 69 tables, then saved as text.
I want each table in a separate file.
Short of an afternoon of copying and pasting, is there a handy way to
(automated) way to hack the document into parts? Possibly using emacs or
something similar?
Each table is proceeded by a comment tag, and followed by two line breaks
like so...
<!--Record Number:1-->
<table>
Foo
</table>
<br>
<br>
Thoughts?
--
Michael Barrett
-O^O-
-
mbarrett at triad.rr.com
AIM: device55
More information about the thelist
mailing list