Comma separated file

Hi all,

I have the following files types:

FileA:
100,
23,
33,

FileB:
22,
45,
78,

and i want to make
File C:
100,22
23,45
33,78
any nice suggestions for making it easy.
Thanks for the help.

man paste
paste -d '\0' file1 file2 | sed 's/,$//' 
1 Like

works well