ikzelf zou het in python doen, maar het kan net zo goed in bash. Hier mijn python code
#!/usr/bin/python
# Open file for reading
f1 = open('file1.txt', 'r')
f2 = open('file2.txt', 'r')
# Open file for writing
f3 = open('file3.txt', 'w')
for line in f1.readlines():
# Remove the newline tag of the string
data1 = line[:-2]
# Read one line from the second textfile
data2 = f2.readline()
# Write both data to the last textfile
f3.write(data1 + " " + data2)
# Close all files
f1.close()
f2.close()
f3.close()