Could use some help today. I am writing a ksh script that will need to cat two files and append them to another file. The catch is that for each row in both files, I need them appended to the same line in the target file. The script does some other things as well and those all work. I just can't seem to find the same line appending part. I found one document that talks about appending cpu time to a field on the same line, but it is only a 1 line entry. I need to do this for files that will have over 4 thousand rows. It would help to have several commas separating the entries as well. For example:
File 1 File 2 Target File
Row 1 "ABCD","PROD" "AD","PROD" "ABCD","PROD",,,,"AD","PROD"
Row 2 "EFGH","PROD" "GH","PROD" "EFGH","PROD",,,,"GH","PROD"
File 1 and File 2 are created in the beginning of the script. File 1 and 2 may not have the same number of rows. They could be off either way. File1 may have more or less rows than File 2, but I need to account for both situations. Any ideas would be greatly appreciated. Thanks.