Need help with on-call automation file



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



.



Relevant Pages

  • Re: expect script doesnt pass graphics chars correctly
    ... My expect script needs to automate login to a terminal server which is ...
    (comp.lang.tcl)
  • Re: Newbie php problem
    ... The OP said that their script would send email without ... Another common way is that spam bots will hit commonly ... you betcha he would automate it soon enough. ...
    (alt.php)
  • Re: OO-COBOL for Unisys IX
    ... >>Our biggest problem is that our configuration management system has been ... >>scripted to automate a mainframe compile from a ... >> us to try to script that, then send the intermediate results up to the ...
    (comp.lang.cobol)
  • Re: Newbie php problem
    ... The OP said that their script would send email without ... CAPTCHA images are hackable/readable by the bots, ... you betcha he would automate it soon enough. ... contact form could have anything to do with its action script. ...
    (alt.php)
  • Re: Newbie php problem
    ... and the script only executes the mail function ... hidden field to prevent blank emails, but spambots pass common variable ... bots (form mail spam bots, ... you betcha he would automate it soon enough. ...
    (alt.php)