Front page | perl.beginners |
Postings from March 2008
diff of two files
Thread Next
From:
Irfan.Sayed
Date:
March 17, 2008 07:22
Subject:
diff of two files
Hi All,
I want to compare the two files in Perl. The requirement is that file 1
has 20 lines and file2 has 25 lines . I want to see only five lines as
output which are there in file2 not in file1 as I know that rest of the
20 lines are same in both the files.
I am using the following commands
Diff /tmp/dev_path_PRS.DB.01.12.000 /tmp/dep_path_D.PRS.DB.01.12.000.8
As per my understating I should get 5 lines as output
Could you please help in getting exact result.
Please help
Regards,
Irfan
Thread Next
-
diff of two files
by Irfan.Sayed