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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

compare two files and diff file wil

Reply to Message Icon

Name: kirankumar
Date: April 5, 2006 at 02:21:12 Pacific
OS: HP-unix
CPU/Ram: nil
Product: 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).



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: compare two files and diff file wil

compare two files field string www.computing.net/answers/unix/compare-two-files-field-string/8078.html

comparing two files www.computing.net/answers/unix/comparing-two-files/8256.html

compare two files www.computing.net/answers/unix/compare-two-files/8438.html