Search Results

Search: Posts Made By: gpsridhar
4,942
Posted By gpsridhar
Thanks a lot vgersh99... Your code worked...
Thanks a lot vgersh99... Your code worked perfectly fine.. It produced the output under one minute for 100k file..
4,942
Posted By gpsridhar
@vgersh99 : You code worked perfect and it ran...
@vgersh99 :
You code worked perfect and it ran in just a few seconds for 100k file. That was great. Thanks a lot.

I do have to make two changes to this code, which i tried but could not complete...
4,942
Posted By gpsridhar
My Sample input files : File1 ...
My Sample input files :

File1

10,807,3616114150,1,RVRSL,X,NA,2615574
11,199,607440419,0,ORGNL,1,NA,157844
12,807,25004011647,1,RVRSL,X,NA,1411925


File2
...
4,942
Posted By gpsridhar
How to compare two files using UNIX?
I have two files which have primary key(s) for each row.

I need to compare both the files and produce the output in the following format.


Primary key(s),file1 value,file2 value.


Both...
4,592
Posted By gpsridhar
I used the command dos2unix while moving the file...
I used the command dos2unix while moving the file from my windows to linux server and it worked perfectly :)

But i do want to know what exactly does this command do.. because when i transfer my...
4,592
Posted By gpsridhar
Hi, I did not loop the awk script but found...
Hi,

I did not loop the awk script but found an easier solution like the one given below.
Right now it is working well on my AIX server.
But when i migrate the same to my LINUX server, its not...
4,592
Posted By gpsridhar
@scottn : The solution provided by you was...
@scottn :

The solution provided by you was really good.

I just want to make that reusable.

The values $1,$2,$4,$3 will be passed from a variable.

Can we loop this awk script by...
4,592
Posted By gpsridhar
Write to a file in a specified order
This is my input file :

FCBAFE572C5E4BA29B3F8030BD480A94,907 ,1/1/2003,12/31/2005,ACT,1,2010-05-07 04:42:26.380000
2345AD5D2BFB29C821C1BC3DE8B746A7,907 ,1/1/2004,1/31/2005,ACT,1,2010-05-07...
3,689
Posted By gpsridhar
I have this sample text file.. ...
I have this sample text file..

E643E32D00AB58B49926B3C9628793E5,907 ,9999,5/1/2004,867 ,12/31/2006,ACT,1,0,1
CA589E9EC9CDBABA560EE6BF77AA4DBE,907 ,8741,7/1/2006,867 ...
5,923
Posted By gpsridhar
@felipe.vinturin
Hi,

Thanks for the reply.

This looks good for me to start things.

Actually my requirement is little more complex.

The two files will be having varying layout. The columns in both the...
5,923
Posted By gpsridhar
Compare specific columns between two files having different layouts
Hi,

My requirement is that I need to compare two files.

For example :

The first file will be having 15 columns and the second file will be having just 10 columns.

Example :

File1...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 08:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy