← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236949]: How to compare the string from two different text file?

 

Question #236949 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236949

    Status: Needs information => Open

koventhan gave more information on the question:
There is only one "Student Name -" in each files but each file has
different Student Name's. So i want to grep this field and compare with
other file. Whether both the student name is same or not?

file should be like below,

Student Name - AAAA
Student ID- 12345
Student percentage - 75%
.....
....
....
.....
.....
.....

.....
.....

like this 2000+ lines will be there,,, but only one student name field
is present (Note- it may be 1st line or 100th file or 2000th file so
this field is not fixed)...

once i get output of each files then i need to compare whether both the
files has same name or different name?

like File1 has Kumar and File2 has Siva,,, Both Names are different ..
So out is falls

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.