<br><br>
<div class="gmail_quote">On Wed, Dec 2, 2009 at 10:16 AM, Paul Bijnens <span dir="ltr"><<a href="mailto:Paul.Bijnens@xplanation.com">Paul.Bijnens@xplanation.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On 2009-12-02 11:10, hadi motamedi wrote:<br>> Thank you very much for your reply . This code actually solved my<br>> problem and returned exact matches between the two files (irrespective<br>> of their location in the files) . As I understood , it will list each<br>
> data showing to which file it belongs (or it is common to both files) .<br>> It is really what I wanted .<br><br></div>(( do not top-post ))<br><br>You could do the same by first sorting the two files, and then use "comm".<br>

<div class="im"><br><br>--<br>Paul Bijnens, Xplanation Technology Services        Tel  +32 16 397.525<br>Interleuvenlaan 86, B-3001 Leuven, BELGIUM          Fax  +32 16 397.552<br>***********************************************************************<br>
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *<br>* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ~., *<br>* stop, end, ^]c, +++ ATH, disconnect,  halt,  abort,  hangup,  KJOB, *<br>
* ^X^X,  :D::D,  kill -9 1,  kill -1 $$,  shutdown,  init 0,  Alt-F4, *<br>* Alt-f-e, Ctrl-Alt-Del, Alt-SysRq-reisub, Stop-A, AltGr-NumLock, ... *<br>* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *<br>
***********************************************************************<br>_______________________________________________<br></div>
<div>
<div></div>
<div class="h5">CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div>
<div><br> </div>
<div>The two files are assorted ones , but the comm will compare them in line-by-line basis . If row#1 in file1 is equal to say row#5 in file2 , so I want it not to being considered as a difference .</div>
<div> </div>