
krishNiran
New User
Dec 19, 2009, 9:28 PM
Post #1 of 4
(2019 views)
|
How to compare the Strings in two different text files using perl regex ? hai.txt ------- designation: Manager name: David age: 40 bye.txt -------- designation: Manager name: Alex age: 41 I want two compare hai.txt and bye.txt files name and age (If designation is manager only then i need to compare name and age ) ? If designation is different then i need to create another text file and write designation, if name/age is different then i need to create another text file and write designation and name/age.
|