Check file_2_diff file which will be having entries which is not present in file_1. and file_1_diff file which will be having entries which is not present in file_2.
Hi Pamu,
Thanks for replying.
Unfortunately, It did not work either.
Here, I am attaching my actual files
Hi, I need help to write a korn shell script to
1. Check and compare the first file contains single record from the /scp/inbox directory against the badpnt.dat file from the pnt/badfiles directory contains multiple records based on the fam_id column value start at position 38 to 47 from the... (7 Replies)
Hi
i want to compare files
a.txt
12345,23
34567,76
65456,10
13467,01
b.txt
12346,23
34567,76
23333,90
65456,10
13467,03
i want o/p in 3 files
common.txt
both have (2 Replies)
Here is my situation. I need to compare two tab separated files (diff is not useful since there could be known difference between files).
I have found similar posts , but not fully matching.I was thinking of writing a shell script using cut and grep and while loop but after going thru posts it... (2 Replies)
Hi,
I am writing a comparator script, which comapre two txt files(column by column)
below are the precondition of this comparator
1)columns of file are not seperated
Ex.
file1.txt
8888812341181892
1243548895685687
8945896789897789
1111111111111111
file2.txt
9578956789567897... (2 Replies)
Hi All I am just trying to compare 2 file using column information using following code
awk '
NR==FNR {A=$9; next}
{B=A; print $0,B""?B:" Not -In file" }
' OFS="\t" file1 file2if file1 matches with file2 then print $9 content in file 1 along with file2 $0 suppose if I keyed on only $1 in... (17 Replies)
Hi all,
I have two two-column tab-separated files with the following input:
inputA
dog A
dog B
cat A....
inputB
dog C
mouse A
output
dog
I need to compare the 1st column of each file and output those shared items.
What is the best unix solution for that? (5 Replies)
I have 2 files. File 1 has more columns (6 columns but the last column has spaces) than file 2 (file 2 has 4 columns). The entries in file 1 do not change but column 4 in file 2 can be different from the the entry in file 1. I want to create a script that reads in file 1 and then uses column 1 2... (5 Replies)
Hi, I have two files roughly 1200 fields in length for each row, sorted on the 2nd field. I need to compare based on that 2nd column between file1 and file2 and print lines that exist in both files into separate files (I can't guarantee that every line in file1 is in file2).
Example:
File1: ... (1 Reply)
Example:
I have files in below format
file 1:
zxc,133,joe@example.com
cst,222,xyz@example1.com
File 2 Contains:
hxd
hcd
jws
zxc
cst
File 1 has 50000 lines and file 2 has around 30000 lines :
Expected Output has to be :
hxd
hcd
jws (5 Replies)
Discussion started by: TestPractice
5 Replies
LEARN ABOUT DEBIAN
mincdiff
MINCDIFF(1) MINC User's Guide MINCDIFF(1)NAME
mincdiff - report differences between minc files
SYNOPSIS
mincdiff [-header|-body] [-l] [diff options] file1 file2
DESCRIPTION
The mincdiff shell script compares two minc files by running diff(1) on the headers of the two minc files, and cmp(1) on the image vari-
able. You can view only the header differences using -header or only the body (image variable) differences using -body. The option -l is
passed on to cmp of the image variable. Any unrecognized options (e.g. -u) are passed verbatim to the diff of the headers.
OPTIONS -header Compare only the headers of the two files.
-body Compare only the image data of the two files.
-l Print the byte offset in decimal and the byte value in octal
for each difference encountered in the image variable.
AUTHOR
Peter Neelin
COPYRIGHTS
Copyright (C) 1993 by Peter Neelin
SEE ALSO diff(1), cmp(1).
$Date: 2004-05-20 21:52:08 $ MINCDIFF(1)