Hi,
I am working on Sun Microsystems Inc.SunOS 5.10 version.
My file is a output of a sql query which fetchs records of more than 40 million records from the oracle database
from 2 different systems. I need to compare these 2 files, by finding which fields are not matching and the missing
records from file 1 and file2.The 1st colmn whld be displayed as it is and if the fields match , then it shld put Y , else N in the output file.
for ex
file 1
--------
file2
---------
output file
the code I am using righ now. I would be sorting the file before I start processing, here the control_file will tell
me which fields I need to compare.if the fields match , then it shld put Y , else N in the output file.
Thanks in advance
Moderator's Comments:
Please use code tags when posting data and code samples!
Last edited by vgersh99; 01-16-2011 at 11:33 AM..
Reason: code tags, please!
Hi everyone,
I need to compare 2 big Floating/Real numbers in a script.
After the comparission it is showing worng values in my script.
echo "Enter value1"
read value1
echo "Enter value2"
read value2
Result=`echo "if($value1 > $value2) 1" | bc`
if ; then
echo "$value1 is... (4 Replies)
Hi Guys,
Requirement: Want to compare two files, if the the content of both files is same then show "Good result" else Show "Bad Result"
I am using the following logic
if( cmp -s a b = 0 )
then
echo "Good result"
else echo "Bad result"
exit 0
fi
But this is... (1 Reply)
Hi,
I need to compare 2 files based on the first field in each file and output the differences to a new file.
example File 1 and File 2 both have first field as Number ie:
File 1
1252652355
1859553322
1778899562
File 2
1252652355
1859553322
So I would expect File 3 to... (2 Replies)
how can i unix compare two files??
var1 = 6499 7328 6351 7583 7573
var2 = 6499 7328 6351 7583 7777
i did:
diff $var1 $var2
and i got the output:
1c1
< 6499 7328 6351 7583 7573
---
> 6499 7328 6351 7583 7777
what can i do with it? and what does it tell me?? how can i knoe that... (2 Replies)
I have two files which have primary key(s) for each row.
I need to compare both the files and produce the output in the following format.
Primary key(s),file1 value,file2 value.
Both the input files will be comma separated files.
I have accomplished this using perl, but it is... (6 Replies)
Hi Gurus
I need your kind help sorting the below query
I have two text files
File1.txt
ID Name Address
101 Srinath BBB
102 Sidharth CCC
File2.txt
ID Name Address
102 Siddharth DDD
103 Suman EEE
Now the requirement is if the second file has... (0 Replies)
Hi,
I have two files
File1 Contents:
abc
dcf
sdc
File2 Contents:
dcf
sdc
erg
Now my program should return the contents existing in File1 but not in File2. In this case output shoud be "abc" as abc is not available in File 2. It should not return "erg" by saying it is... (4 Replies)
Hello everybody
Looking for help in comparing two files in Linux(files are big 800MB each).
Example:-
File1 has below data
$ cat file1
5,6,3
2.1.4
1,1,1
8,9,1
File2 has below data
$ cat file2
5,6,3
8,9,8
1,2,1
2,1,4 (1 Reply)
Hello everybody
Looking for help in comparing two files in Linux(files are big 800MB each).
Example:-
File1 has below data
$ cat file1
5,6,3
2.1.4
1,1,1
8,9,1
File2 has below data
$ cat file2
5,6,3
8,9,8
1,2,1
2,1,4 (8 Replies)
Hi all,
i need help.
I have two csv files with a huge amount of data.
I need the first column of the first file, to be compared with the data of the second, to have at the end a file with the data not present in the second file.
Example
File1: (only one column)
profile_id
57036226... (11 Replies)
Discussion started by: SirMannu
11 Replies
LEARN ABOUT DEBIAN
insanity-compare
GST-QA-SYSTEM(1) gst-qa-system User Manual GST-QA-SYSTEM(1)NAME
insanity-compare - program to compare two test results in database
SYNOPSIS
insanity-compare {testrundbfile} {testrunid} {testrunid}
DESCRIPTION
This manual page documents briefly the insanity-compare command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
insanity-compare is a program that can compare two test results by their testrunid.
SEE ALSO insanity-dumpresults(1), insanity-run(1)AUTHOR
Ying-Chun Liu <paul.liu@linaro.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2011 Ying-Chun Liu (PaulLiu)
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1
or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL-2.1.
insanity-compare 12/26/2011 GST-QA-SYSTEM(1)