Need help with on-call automation file
- From: "OdAwG" <OdaWg@xxxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 22:42:41 -0600
Hello All Guru's,
I was wondering if anyone could help me out. I have this On_Call file with
the following information
01/22/2007 John Doe John.doe@xxxxxxxxxx
9991234567@xxxxxxxxxx
01/22/2007 Yo Joe Yo.Joe@xxxxxxxxxx
9991236789@xxxxxxxxxx
01/29/2007 Mary Jane Mary.Jane@xxxxxxxxxx
9994567890@xxxxxxxxxx
01/29/2007 John Jon John.jon@xxxxxxxxxx
9997890123@xxxxxxxxxx
02/05/2007 Tina Turner Tina.Turner@xxxxxxxxxx
9998901234@xxxxxxxxxx
02/05/2007 Ike Turner Ike.Turner@xxxxxxxxxx
9999012345@xxxxxxxxxx
I need help with a script to read this file and only pull the email address
and pager number and write them or export to another file based on the date.
I have two files called email.txt which only has email address and pager.txt
that has only the pager number it. Inceidently, the above file is
automatically generated by another system and saved as a text file in the
above format.
So lets say that today is 01/22/2007, the script would run and only export
from the above file John.doe@xxxxxxxxxx and Yo.Joe@xxxxxxxxxx and write them
to the email.txt file and then take the pager numbers 9991234567@xxxxxxxxxx
and 9991236789@xxxxxxxxxx and write them to the pager.txt file.
Originally, this task of doing the above was a manual effort of cut and
paste, but we have a need to try and automate this. any and all help in
this matter is greatly appreciated.
Argus
.
- Follow-Ups:
- Re: Need help with on-call automation file
- From: Ayush
- Re: Need help with on-call automation file
- From: Ayush
- Re: Need help with on-call automation file
- Prev by Date: Re: WSF Format Specification?
- Next by Date: Help with importing .dat file
- Previous by thread: WSF Format Specification?
- Next by thread: Re: Need help with on-call automation file
- Index(es):
Relevant Pages
|