Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Out of topic :Compare 2 data files in unix

RE: Out of topic :Compare 2 data files in unix

From: <John.Hallas_at_vodafone.co.uk>
Date: Wed, 19 Jun 2002 09:03:26 -0800
Message-ID: <F001.00481745.20020619090326@fatcity.com>


sdiff is also useful as it lists the 2 files side by side and inidicates records which are differeent in each
The key is to ensure that the files are sorted

HTH John

-----Original Message-----
Sent: 19 June 2002 16:43
To: Multiple recipients of list ORACLE-L

Hi,
"comm" is a nice utility that works like diff. It compares 2 files and prints lines exclusive to file1, lines exclusive to file2 or lines common to both.

Very useful.

Regards,
Mike Hately

> Hi,
> I have 2 data files file1 & file2.
> I want to get all those records which are present only in file2 & not in
> file1.
> Also want records which are present in both ,separately.
> I tried to use diff , but not entirely familiar with the diff options.
>
> Thanks
> Manoj.
>
 



This email and any attached to it are confidential and intended only for the individual or
entity to which it is addressed. If you are not the intended recipient, please let us know
by telephoning or emailing the sender. You should also delete the email and any attachment
from your systems and should not copy the email or any attachment or disclose their content
to any other person or entity. The views expressed here are not necessarily those of
Churchill Insurance Group plc or its affiliates or subsidiaries. Thank you. Churchill Insurance Group plc. Company Registration Number - 2280426. England.
Registered Office: Churchill Court, Westmoreland Road, Bromley, Kent BR1 1DP.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Hately Mike
  INET: Mike.Hately_at_churchill.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: John.Hallas_at_vodafone.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jun 19 2002 - 12:03:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US