unix diff with numerical precision


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting unix diff with numerical precision
# 1  
Old 09-16-2009
Question 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
# 2  
Old 09-16-2009
It is very unlikely that any such utility exists in unix or any other O/S.

A custom program will require an expert.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Diff in UNIX

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

2. Shell Programming and Scripting

diff command in Unix

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

3. Shell Programming and Scripting

.procmailrc and uudeview (put attachments from diff senders to diff folders)

Moderator, please, delete this topic (1 Reply)
Discussion started by: optik77
1 Replies

4. UNIX for Advanced & Expert Users

Problem using diff command in unix

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

5. UNIX for Dummies Questions & Answers

diff between unix and linux

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. Shell Programming and Scripting

UNIX Guru's help on diff

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

7. Shell Programming and Scripting

can we diff 3 files in Unix

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

8. Shell Programming and Scripting

Diff between Unix and Windows

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

9. Shell Programming and Scripting

diff 2 files; output diff's to 3rd file

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
Login or Register to Ask a Question