09-16-2009
unix diff with numerical precision
Hi,
I search a unix utility to diff two files, that takes as argument numerical precision as well. If two files are different only in numbers and the difference is less than precision then the result as they are the same.
The precision may be absolute (x1-x2) or relative (x2/x1). Also I need the possibility to have a gui front end, like tkdiff.
Thanks
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.
For example:
file 1
123
1234
123456
file 2
123
2345
23456
file 3 should have
2345
23456
I have looked at diff, bdiff, cmp, comm, diff3 without any luck! (2 Replies)
Discussion started by: blt123
2 Replies
2. Shell Programming and Scripting
Hi All,
In my work environment, our workis to run N number of SQL statements
continously.. Actually we are in testing environment. And for this we write 100 of SQL's and execute each one after another at Windows SQL prompt.
Some of the SQL's will be running for about 12 hrs also.
... (1 Reply)
Discussion started by: cheche
1 Replies
3. Shell Programming and Scripting
Dear ALL
I need help in diff command
can we do diff of 3 files ..
I want to compare 3 files (1 Reply)
Discussion started by: getdpg
1 Replies
4. Shell Programming and Scripting
Hi ,
I wanted to find delata between two huge ( 8 GB ) files . Say file_TDY and file_YDY : These files are sorted based on a key .
I am using a command :
1)bdiff file_TDY file_YDY > diff_file
2) grep ' ^< ' diff_file > TDY_delta
I wanted only the changed records and newly added... (2 Replies)
Discussion started by: ajaybalki
2 Replies
5. UNIX for Dummies Questions & Answers
can some 1 tel me wat is difference between unix and linux. and from where i can download unix for free (5 Replies)
Discussion started by: rohansaurav
5 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am trying to do a diff between two files using "diff" command.I dont need my output to be printed using extra symbols ">" and "<" as we usually see for the diff command. Even to excude these characters in each line of the output, my diff output has inturn many symbols ">" and "<".
... (1 Reply)
Discussion started by: pharitha
1 Replies
7. Shell Programming and Scripting
Moderator, please, delete this topic (1 Reply)
Discussion started by: optik77
1 Replies
8. Shell Programming and Scripting
Hi I want to compare two rows in unix
first value in row is 1.12 while value in other row is 000001.12.
if i do normal diff this will come as difference...is it any way to overcome this? (1 Reply)
Discussion started by: sanranad
1 Replies
9. UNIX for Dummies Questions & Answers
Hi guys - I have two files that have random number values and I want to see what is available in file A and not in file B
Here is what each file looks like:
File A:
1
45
11
788
556
File B:
774
1
5589
788
10025 (4 Replies)
Discussion started by: DallasT
4 Replies
LEARN ABOUT OPENDARWIN
asinf
FLOAT(3) BSD Library Functions Manual FLOAT(3)
NAME
float -- functions with single-precision floating-point arguments
DESCRIPTION
The following functions are available in single precision. The functions conform to the ISO/IEC 9899:1999(E) standard. They are similar to
the corresponding double-precision functions (which have the same name, without the "f" at the end). The double-precision functions have
their own pages. Wherever the double-precision functions use a double-precision floating-point value (as an argument or return value), these
functions use a single-precision floating-point value.
To use these functions you must add an additional flag to the link step that produces the executable binary. Specify "-lmx".
acosf()
acoshf()
asinf()
asinhf()
atanf()
atan2f()
atanhf()
cbrtf()
cosf()
coshf()
erff()
erfcf()
hypotf()
logf()
log2f()
log10f()
log1p()
powf()
sinf()
sinhf()
sqrtf()
tanf()
tanhf()
The following functions are also available in single precision. The functions conform to the ISO/IEC 9899:1999(E) standard. Each one has its
own page, which it shares with its corresponding double-precision function (which has the same name, without the "f" on the end). The page
can be found under both names.
You do not need to specify the "-lmx" flag to use these functions.
ceilf()
copysignf()
expf()
exp2f()
expm1f()
fabsf()
fdimf()
floorf()
fmaf()
fmaxf()
fminf()
fmodf()
frexpf()
ilogbf()
ldexpf()
lgammaf()
llrintf()
llroundf()
logbf()
lrintf()
lround()
modff()
nanf()
nextafterf()
remainderf()
remquof()
rintf()
roundf()
scalblnf()
scalbnf()
tgammaf()
truncf()
BSD
August 13, 2003 BSD