Search Results

Search: Posts Made By: Suman Singh
2,350
Posted By Suman Singh
Both the values. both new and old one.
Both the values. both new and old one.
2,350
Posted By Suman Singh
Comparing two huge files on field basis.
Hi all,
I have two large files and i want a field by field comparison for each record in it.
All fields are tab seperated.

file1:

Email SELVAKUMAR RAMACHANDRAN
Email SHILPA SAHU...
2,888
Posted By Suman Singh
Ya it works, if the number of files is less. ...
Ya it works, if the number of files is less.
It does not work when no. of file is around 150000 or if the number of mismatch file increases to a high extent.




Thanks,
Suman
2,888
Posted By Suman Singh
If some one can help onto my above posted...
If some one can help onto my above posted concern, will be very much thankful.


Thanks,
Suman.
2,888
Posted By Suman Singh
Hi Kevintse, The OS I am using is AIX 3,...
Hi Kevintse,

The OS I am using is AIX 3, SHELL - BASH.

Your Code - awk 'FNR==NR{a[$0]; next}!($0 in a)' File2 File1

I tried to run using ur code but it didnot work.I got the output as...
2,888
Posted By Suman Singh
Hi Kevintse, Even the code posted by you is...
Hi Kevintse,

Even the code posted by you is doing the same thing

awk 'FNR==NR{a[$0]; next}!($0 in a)' File2 File1


I am getting the output as whole of File1.
2,888
Posted By Suman Singh
Thanks to every one. But i just want to...
Thanks to every one.

But i just want to know why the code which i implemented did not work.



Thanks,
Suman
2,888
Posted By Suman Singh
Comparision of two huge unix files - Reconcilation
Hi,

I have two huge file; each one has approximately 150000 lines. I need to compare both of them and store the unmatched lines into a different file.

I have searched for everything in google...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy