Newbie Help (WinXP)
- From: "Mark Jerde" <MarkJerde@xxxxxxxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 04:54:03 GMT
There are 228 .html files I want to suck 4 items out of and put in a single
comma delimitted file, one line per .html file. I know how to build the
regular expressions to get the 4 items.
I know how to do this in *.NET and VB6 but I wanted to try to do it in Perl.
I downloaded perl from ActiveState.com and have successfully run a few
programs but I'm not being successful processing *.html on the command line.
I would really appreciate it if someone would reply with the WinXP command
line and the Perl program to make a single output file of [Father, Mother]
from *.html input. Sample input:
1.html
Person=George
Father=Alan
Mother=Sarah
Hobby=Cheating at dice
2.html
Person=Karen
Father=David
Mother=Mary
Hobby=Burning books
3.html
Person=Mark
Father=Sven
Mother=Helga
Hobby=Burping
Output file:
Alan, Sarah
David, Mary
Sven, Helga
Thanks!
-- Mark
.
- Follow-Ups:
- Re: Newbie Help (WinXP)
- From: Chris
- Re: Newbie Help (WinXP)
- Prev by Date: Module
- Next by Date: RE: Module
- Previous by thread: Accessing online files (newb question)
- Next by thread: Re: Newbie Help (WinXP)
- Index(es):
Relevant Pages
|