combine files in horizontal way, not vertical.

Hi Everyone,

I have three files.
FileA:
aaaa
aaaa
bb
ccc

FileB:
21
2

FileC:
eeeeeee
e
eee
ee

Would like to combine three of them, not like cat, to cat three files, but the output should be like:
aaaa 21 eeeeeee
aaaa 2 e
...
...

means in the horizontal way.
Is any simple method to do that? :confused:
Thanks

man paste

One way of doing this:

awk '{a[FNR]=a[FNR]" "$0} END{for(x in a) { print a[x]}}' file1 file2 file3

Panyam has given a good option... i never knew this thanks ...

Thanks, i never know there is a command "paste" :eek: