Operating System - Linux
1827883 Members
1312 Online
109969 Solutions
New Discussion

combine 3 files to one file with 3 columns

 
SOLVED
Go to solution
f. halili
Trusted Contributor

combine 3 files to one file with 3 columns

Hello everyone,

I have 3 file and I want to combine them to one file with 3 columns. Any thoughts???

Example File1 has:
AAA
BBB
CCC

File2 has:
111
222
333

File 3 has
XXX
YYY
ZZZ

I want a file to be:
AAA 111 XXX
BBB 222 YYY
CCC 333 ZZZ

Thanks,
F. HALILI
derekh
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: combine 3 files to one file with 3 columns

paste File1 File2 File3 > file

Man paste for details.
If it ain't broke, I can fix that.
f. halili
Trusted Contributor

Re: combine 3 files to one file with 3 columns

WORKS PERFECTLY !!!
THANKS!!!

- f. halili
derekh