Computing.Net > Forums > Unix > compare two files and diff file wil

compare two files and diff file wil

Reply to Message Icon

Original Message
Name: kirankumar
Date: April 5, 2006 at 02:21:12 Pacific
Subject: compare two files and diff file wil
OS: HP-unix
CPU/Ram: nil
Model/Manufacturer: nil
Comment:

Hi,

compare two files and difference will be moved into separate file.if anybody having code for this please send asap. using diff command how can we write the shell programming
and my first file is like this
10Ç20060323Ç01(Header)
01ÇIÇbabuÇ3000
01ÇIÇbaluÇ4000
99Ç04--trailer including header and trailer ,count the records-4

and second file is like this

10Ç20060324Ç01
01ÇbabuÇ3000
01ÇbaluÇ4000
01ÇkumarÇ8000
99Ç05---record count(5)

and the difference must be

01Ç20060324Ç01
01ÇkumarÇ8000
99Ç03--record count(3).


Report Offensive Message For Removal








Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: compare two files and diff file wil

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge