dayankoven
Programmer
Hi everyone,
I have a situation in which i need to merge 2 files, File A and File B. Both files are fixed length files and the file format is identical. The only problem is that the files are really very very huge. Each file is has about 2 million records. Each line is about 528 bytes. So, i'm looking at about 10560 MB of data per file.
I believe we can invoke a CAT command
CAT File A File B > File C.
I've read somewhere that the CAT command doesn't work well for huge files.
Is there a way i can achieve this merging in a very fast and efficient way via UNIX scripting.
Thanks in advance for all the help.
I have a situation in which i need to merge 2 files, File A and File B. Both files are fixed length files and the file format is identical. The only problem is that the files are really very very huge. Each file is has about 2 million records. Each line is about 528 bytes. So, i'm looking at about 10560 MB of data per file.
I believe we can invoke a CAT command
CAT File A File B > File C.
I've read somewhere that the CAT command doesn't work well for huge files.
Is there a way i can achieve this merging in a very fast and efficient way via UNIX scripting.
Thanks in advance for all the help.