David Aldridge
asked on
Creating csv from multiple files
Is there any way for me to read from let's say 4 different files in ksh. Each has a list of server names. I want to put one column from each file in a .csv file. I hope I'm clear enough.
ASKER
I have 4 files. Each with one column. I want to read the files and put them all in one file like this:
from file1 from file2 from file3 from file4
server1, server2, server3, server4,
server5, server6, server7, server8
Make sense? I probably shouldn't numbered the servers, but just think of them as regular server names that come from each file.
David
from file1 from file2 from file3 from file4
server1, server2, server3, server4,
server5, server6, server7, server8
Make sense? I probably shouldn't numbered the servers, but just think of them as regular server names that come from each file.
David
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great once again. Perfect ozo.
paste -d, file1 file2 file3 file4