05-07-2008
Are you comparing only text files? Maybe you can try to add "-a" option and see if something changes...
If it doesn't work, please provide a snippet of the two input files, it may help in reproducing and solving your problem.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I'm having the following problem with the unix sdiff command.
for example if I try sdiff <filename 1> <filename 2>
Where filename 1 and filename 2 contain really long pathnames that I need to compare.
The output I get will be 139 characters long which is the default.
But an output of... (0 Replies)
Discussion started by: ruudrio
0 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I'm using Sdiff to compare 2 files, I've used this before and it works fine
and still does in some cases.
But it seems to trip up when using combinations of alpha-numeric text.
I created two simple files to test and as you can see it seems to trip up
on the "gr55a" text, any ideas ?
... (2 Replies)
Discussion started by: cowpoke
2 Replies
3. UNIX for Dummies Questions & Answers
Hi all
I have two files which are essentially the same. However the way an exponent is written is different (i.e. in 1 file, a particular number might be written as 1.43230000E+02 whereas in another it might be 1.4323E2).
If I use SDIFF then the program will merely check the ASCII characters... (1 Reply)
Discussion started by: robbiegregg
1 Replies
4. Shell Programming and Scripting
Hi All
I have two large (similar) files that have a unique number in the first column...(the trade id) and then a value for that trade in the second column...delimited by "~". Here is a snippet of what the files look like
10030372~-410682.73
10030490~-4052867.73
10030646~-352592.21... (8 Replies)
Discussion started by: kbuttz
8 Replies
5. Shell Programming and Scripting
Hi,
I'm trying to use sdiff by parsing the output of another command instead of the filename:
sdiff <(echo test1) <(echo test2)However, this seems to cause my terminal session to stop working.
If I use it with normal diff it works fine:
~$ diff <(echo test1) <(echo test2)
1c1
< test1... (4 Replies)
Discussion started by: Subbeh
4 Replies
6. Shell Programming and Scripting
I wanted to ask can sdiff be used for comparing files which are present in different network?? If yes then how?
Thanks in Advance!!!!!!! (1 Reply)
Discussion started by: bhavanabahety
1 Replies
7. Shell Programming and Scripting
Hi
i am comparing file on 2 different machine with the help of script.
however i am get below o/p
======= /usr/tmp =========
======= /usr/tmp not a regular file i am not sure what does "not a regular file mean" .
is it something serious, if yes then what i need to check or we can... (1 Reply)
Discussion started by: scriptor
1 Replies
8. Shell Programming and Scripting
so i have a script that runs across many servers. i'd like to know how many times this script is being used on each server.
the only straight forward, non-intrusive way i can think of doing this is to include a line in the script to make a webcall to a central server. and from that central... (9 Replies)
Discussion started by: SkySmart
9 Replies
9. Programming
Hi Team ,
I am new to Sybase Adaptive Server Enterprise/15.7 (ASE) and need some guidance to find the different values in serial format column.
SELECT DISTINCT SERIAL_FORMAT FROM PRODUCTS
It has values with below format which contains 12 digits hexadecimal characters with... (2 Replies)
Discussion started by: Perlbaby
2 Replies
10. UNIX for Beginners Questions & Answers
file1:
USER:XACME\cn3937
User:XACME\z01220
User:XACME\z01404
User:XACME\z02102
User:XACME\U17234
File2:
USER:XACME\lawson
USER:XACME\cn7913
USER:XACME\cn8037
USER:XACME\cn8042
USER:XACME\cn8046
USER:XACME\u31645
USER:XACME\u19050
USER:XACME\U28715
USER:XACME\U17234
USER:XACME\cn3937... (2 Replies)
Discussion started by: loktamann
2 Replies
LOOKAMB(1) General Commands Manual LOOKAMB(1)
NAME
lookamb - examine ambient file values
SYNOPSIS
lookamb [ -d ][ -r ][ -h ] [ ambfile ]
DESCRIPTION
Lookamb examines an ambient file produced by rpict(1), rtrace(1), or rvu(1). The default mode prints the position, direction, level,
weight, radius, value, position gradient and direction gradient for each stored ambient value preceded by a label appropriate for human
interpretation. The -d option prints the same quantities in 18 columns without any expanatory text, and is more appropriate as input to
another program.
The -r option performs the reverse conversion, taking the output of lookamb and reproducing the original ambient file on the standard out-
put.
The -h option causes lookamb not to print out the header information on the output, or not to expect it on the input with the -r option.
If no file is given, lookamb reads from the standard input.
NOTES
Before release 2.2 of Radiance, ambient files were in a machine-dependent format. Since that is no longer the case, ambient files can now
be moved freely between machines without any conversions. Thus, the only reason to use lookamb now is to examine the contents of an ambi-
ent file.
AUTHOR
Greg Ward
SEE ALSO
getinfo(1), oconv(1), pfilt(1), pinterp(1), rpict(1), rtrace(1), rvu(1)
RADIANCE
11/15/93 LOOKAMB(1)