W
william
I have downloaded a big text file from Lexis-Nexis. This text file has
412 news stories. Each story begins with, for example, 1 of 412
DOCUMENTS or 2 of 412 DOCUMENTS and close to the end it has LOAD-DATE:
information. I want to process this one big text file into 412
separate text files and name them according to the LOAD-DATE, for
example, DELL_20081205_1.txt or DELL_20081205_2.txt. Can anybody give
me some hint on how to achieve this using Perl? The actual text file
is attached below.
Thank you very much.
William
1 of 412 DOCUMENTS
Austin American-Statesman (Texas)
December 5, 2008 Friday
Final Edition
CENTRAL TEXAS DIGEST
BYLINE: FROM STAFF REPORTS
SECTION: BUSINESS; Pg. B08
LENGTH: 375 words
COMPUTER MAKERS
Dell stockholders ask for investigation
Dell Inc. said that it received a shareholder-demand letter asking
the board
to investigate allegations that some current and former directors and
officers
imprudently invested and managed funds in the 401(k) plan.
.......
LOAD-DATE: December 5, 2008
LANGUAGE: ENGLISH
PUBLICATION-TYPE: Newspaper
2 of 412 DOCUMENTS
Contra Costa Times (California)
August 29, 2008 Friday
Stocks on the move: International Paper, Magma Design, PetSmart
BYLINE: wire
SECTION: BUSINESS
LENGTH: 677 words
By Fabio Alves
Bloomberg News
The following companies are having unusual price changes in U.S.
markets this
afternoon.
Dell Inc. (DELL US) dropped 12 percent, the most since November, to
$22.08.
The world's second-largest personal-computer said the U.S. slump in
technology
spending has moved abroad. Second-quarter profit before one-time items
was 33
cents a share, short of the 36-cent average projection compiled by
Bloomberg.
LOAD-DATE: August 29, 2008
LANGUAGE: ENGLISH
412 news stories. Each story begins with, for example, 1 of 412
DOCUMENTS or 2 of 412 DOCUMENTS and close to the end it has LOAD-DATE:
information. I want to process this one big text file into 412
separate text files and name them according to the LOAD-DATE, for
example, DELL_20081205_1.txt or DELL_20081205_2.txt. Can anybody give
me some hint on how to achieve this using Perl? The actual text file
is attached below.
Thank you very much.
William
1 of 412 DOCUMENTS
Austin American-Statesman (Texas)
December 5, 2008 Friday
Final Edition
CENTRAL TEXAS DIGEST
BYLINE: FROM STAFF REPORTS
SECTION: BUSINESS; Pg. B08
LENGTH: 375 words
COMPUTER MAKERS
Dell stockholders ask for investigation
Dell Inc. said that it received a shareholder-demand letter asking
the board
to investigate allegations that some current and former directors and
officers
imprudently invested and managed funds in the 401(k) plan.
.......
LOAD-DATE: December 5, 2008
LANGUAGE: ENGLISH
PUBLICATION-TYPE: Newspaper
2 of 412 DOCUMENTS
Contra Costa Times (California)
August 29, 2008 Friday
Stocks on the move: International Paper, Magma Design, PetSmart
BYLINE: wire
SECTION: BUSINESS
LENGTH: 677 words
By Fabio Alves
Bloomberg News
The following companies are having unusual price changes in U.S.
markets this
afternoon.
Dell Inc. (DELL US) dropped 12 percent, the most since November, to
$22.08.
The world's second-largest personal-computer said the U.S. slump in
technology
spending has moved abroad. Second-quarter profit before one-time items
was 33
cents a share, short of the 36-cent average projection compiled by
Bloomberg.
LOAD-DATE: August 29, 2008
LANGUAGE: ENGLISH