HP3000-L Archives

September 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 26 Sep 2000 10:27:29 +0800
Content-Type:
text/plain
Parts/Attachments:
BDY.TXT (52 lines)
hi all,
        I have two file of similar structure and content, I want to compare both
the file and pass the rows that are different from one of the file onto a third
file.
        How do you do that ? I tried
file filea=partin
file fileb=partout
file outfile=diff
Run COMPARE.PUB.ROBELLE;INFO="F1"

and got the following output
----------------------------------------
 Mismatch:

 Line 378 of PARTIN.WWCLASS.PPMDMFG:

 >  8471801000   5065-0428

 Line 378 of PARTOUT.WWCLASS.PPMDMFG:

 > 8471801000   5065-0428

 ----------------------------------------
 Mismatch:

 Line 454 of PARTIN.WWCLASS.PPMDMFG:

 >  8473301000   5184-3230

 Line 454 of PARTOUT.WWCLASS.PPMDMFG:

 > 8473301000   5184-3230
(24/114) Continue?

 ----------------------------------------
 Mismatch:

 Line 504 of PARTIN.WWCLASS.PPMDMFG:

 >  8471706000   C1555-60003

 Line 504 of PARTOUT.WWCLASS.PPMDMFG:

 > 8471706000   C1555-60003

        But I just want the rows nothing else, some times it is better to have
less descriptive things.

        Thanks in advance.

Aveek

ATOM RSS1 RSS2