10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using Sun Solaris - SunOS. I have two fixed width files shown below. I am trying to find the changes in the records in the Newfile.txt for the records where the key column matches. The first column is a key column (example: A123).
If there are any new or deletion of records in the... (4 Replies)
Discussion started by: Saanvi1
2. Shell Programming and Scripting
Can you help please
I have a data base with lot information (file2) and I have some data in (file1) to compare.
Then the comparison should be done using the following keys:
Example ( values from file1 )
key1 = columns from 20-34 substr($0,20,15)
key2 = columns... (5 Replies)
Discussion started by: jiam912
3. Shell Programming and Scripting
compare to flat files using awk .but in 4th field contains non ordered substring. how to do that.
andy|0.0|4|JP:50;**:25;UY:25 (4 Replies)
Discussion started by: veeruasu
4. UNIX for Dummies Questions & Answers
I'm a newbie to scripting and am trying to compare two files using awk.
The files are exactly the same dimensions. Where the first file has 0's I would like to create an updated version of the second file which has the corresponding elements set to zero also.
12345 1 2 0... (3 Replies)
Discussion started by: kasan0
5. Shell Programming and Scripting
I am strugling from quite a some time to compare flat files with over 1 million records could anyone please help me.
I want to compare two pipe delimited flat files, file1 with file2 and output the unmatched rows from file2 in file3
... (9 Replies)
Discussion started by: suhaeb
6. Shell Programming and Scripting
I have a flat file with millions of records. .
Now I on this. (I prefer for AWK as its gives good performance.)
1 gopi ase ....
2 arun pl ...
3 jack sutha ..
4 peter pm ..
4 peter pm ..
... (12 Replies)
Discussion started by: Gopal_Engg
7. Shell Programming and Scripting
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Discussion started by: bkeep
8. Shell Programming and Scripting
I searched the forum but didnt get much info.
I want to compare 2 files.
1)Newfile comes today with
2)Old file of previous day.
The files are same ,just the new files might have new records sometimes.
So I want to capture these new records in another file.
Can anyone help... (5 Replies)
Discussion started by: ganesh123
9. Shell Programming and Scripting
I am giving an example similar to the problem I have.
I have two data files of 10 columns each in which fields are delimited by comma(,). I need to compare compare the two files using the uniq col(col3). If there are any records in file1 and are not in file2 then I have check the value... (3 Replies)
Discussion started by: rajus19
10. Shell Programming and Scripting
I would like to compare a data file (before and after a process has run) to identify if there are any differences. Can anyone help !! (1 Reply)
Discussion started by: ithomp