how can i take commands from file

O

onurdundar1987

i have a project and it wants from me to take the commands from file
such

we have to take this command from file.

Example descripton

Begin Transaction Log
4 records are added to transaction table:
Record 1: 12.10.2007; +90 (532) 5555555; +1 (841) 4444444
Record 2: 14.10.2007; +1 (841) 4444444; +90 (542) 3333333
Record 3: 14.10.2007; +90 (532) 5555555; +90 (532) 1111111
Record 4: 20.10.2007; +90 (532) 1111111; +90 (532) 5555555
End of Transaction Log
Begin Owner Log
4 records are added to owner table, 0 ignored, 0 overridden :
Record 1: John Michael Moore; +90 (532) 5555555
Record 2: Dubya Bush; +1 (841) 4444444
Record 3: George Erdogan; +90 (542) 3333333
Record 4: Abdullah Kaktus; +90 (532) 1111111
End of Owner Log

On 12.10.2007 From: John Michael Moore To: Dubya Bush

my project is that we will take inputs from file and commands too.
input1.dat has transactions and input2.dat has phone number owners.
we will output results in another file query.dat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top