The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compare one file with 7 files in shell programming ravi214u Shell Programming and Scripting 4 07-07-2008 10:08 AM
compare two tables using shell script dtidke Shell Programming and Scripting 1 06-25-2008 05:34 AM
How to compare the dates in shell script vaji Shell Programming and Scripting 9 02-28-2007 12:34 AM
shell script cant recognize if else compare jaseloh Shell Programming and Scripting 6 12-06-2005 11:34 PM
script to compare files pulse2india Shell Programming and Scripting 0 10-19-2005 04:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-21-2008
revenna revenna is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 16
How to compare two files using shell script

hi experts

please help me to compare two files which are in different directory

file1<file will be master file>
(/home/rev/mas.txt}
ex x1
x2

file2 <will be in different folder>
(/home/rev/per/.....)
ex x3
x4
the filesinside per folder i need to compare with master file and the files inside the per are having some changes 3 and 4 but file name is same
so if i comapare i need to have the OUTPUT no difff for this ex

please help me i am new to this shell script and i have no idea


i need to compare this two files using shell scipt
  #2 (permalink)  
Old 11-21-2008
Franklin52 Franklin52 is offline Forum Staff  
Moderator
  
 

Join Date: Feb 2007
Posts: 4,212
Double post, proceed here:

comparing two files using shell script

Thread closed!
Sponsored Links
Closed Thread

Bookmarks

Tags
shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0