D
doni
Hi,
I am writing a program where based upon an user input, I perform a
pattern match to extract the user input from the file. If there is a
match then I would like to print the 4th and 5th field of the next line
from where the pattern match occured. Can anyone let me know how can I
perform this.
Here is how the data is represented in the file.
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Thanks,
doni
I am writing a program where based upon an user input, I perform a
pattern match to extract the user input from the file. If there is a
match then I would like to print the 4th and 5th field of the next line
from where the pattern match occured. Can anyone let me know how can I
perform this.
Here is how the data is represented in the file.
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Name
-> Address1 Address2 City ZipCode
Thanks,
doni