From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 20:40:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A843D16A4CE for ; Thu, 9 Dec 2004 20:40:00 +0000 (GMT) Received: from kmart.com (usdmzsvpsmtpct1.kmart.com [208.247.100.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A4B143D53 for ; Thu, 9 Dec 2004 20:40:00 +0000 (GMT) (envelope-from jthiyaga@kmart.com) Received: from ([148.162.169.135]) by usdmzsvpsmtpct1.kmart.com with ESMTP id KP-GYM75.47554161; Thu, 09 Dec 2004 15:39:21 -0500 Received: from uskihsvpexch03.kih.kmart.com ([148.162.36.40]) by uskihsvpsmtp01.kih.kmart.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 9 Dec 2004 15:39:21 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 9 Dec 2004 15:39:20 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: comparing two files yy.unl and xx.dat Thread-Index: AcTeLykfYpHyFsGITvGzk4SmMJu0KQ== From: "Thiyagarajan, Jemima" To: X-OriginalArrivalTime: 09 Dec 2004 20:39:21.0024 (UTC) FILETIME=[29420C00:01C4DE2F] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: jemydpm@yahoo.co.in Subject: comparing two files yy.unl and xx.dat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 20:40:00 -0000 Hi all=0D=0A=0D=0AI am new to shell scripts=2E I have a doubt=2E Please som= ebody help me=2E=0D=0A=0D=0AAny explanation with example will be appreciate= d=2E=0D=0A=0D=0AI try to compare 2 files xx=2Edat (data separated by comma)= and yy=2Eunl=0D=0A(data separated by |)=2E=0D=0A=0D=0AAnd if a record in x= x=2Edat is not found in yy=2Eunl then move that record=0D=0Ato some databas= e table like db2 table=2E=0D=0A=0D=0A =0D=0A=0D=0AThanks=0D=0A=0D=0A =0D=0A= =0D=0AJemima =0D=0A=0D=0A =0D=0A=0D=0A=0D=0A=0D=0A=0D=0A-------------------= ----------------------=0D=0AThis message and its contents (to include attac= hments) are the property of=0D=0AKmart Corporation (Kmart) and may contain = confidential and proprietary=0D=0Ainformation=2E You are hereby notified th= at any disclosure, copying, or=0D=0Adistribution of this message, or the ta= king of any action based on=0D=0Ainformation contained herein is strictly p= rohibited=2E Unauthorized use of=0D=0Ainformation contained herein may subj= ect you to civil and criminal=0D=0Aprosecution and penalties=2E If you are = not the intended recipient, you=0D=0Ashould delete this message immediately= =2E=0D=0A