How to add information to the end of each record
Posted: Wed Apr 24, 2013 1:44 pm
Hello,
sorry my english is not good, I m trying to improve it..
My problem:
I have two files:
One file has many records.
The other file only has one record.
I need add the information of the second file to the end of all records of the first file .
My english is poor. I ll try to explain with example:
input FILE1:
input FILE2:
output FILE
EDIT: the record of file2 will be written in the last position of file 1
sorry my english is not good, I m trying to improve it..
My problem:
I have two files:
One file has many records.
The other file only has one record.
I need add the information of the second file to the end of all records of the first file .
My english is poor. I ll try to explain with example:
input FILE1:
charles
james
peter
james
peter
input FILE2:
12345
output FILE
charles 12345
james 12345
peter 12345
james 12345
peter 12345
EDIT: the record of file2 will be written in the last position of file 1