Data fetched from text file and save in a csv file

Hi i have wriiten a script which fetches the data from text file, and saves in the output in a text file itself, but i want that the output should save in different columns.
I have the output like:
For Channel:response_time__24.txt

1547 data points
0.339
0.299
0.448
0.581
7.380
0.372

For Channel:response_time__48.txt

2878 data points
0.350
0.305
0.446
0.566
9.070
0.441

I want that for 48 channels it should come in a different column, cureently i am saving it in a text file itself.

Script i have wriiten is:
for i in `ls *.txt`
do
echo $i;
echo -e "
" >> 4;
echo "For Channel:`ls $i`" >>4;
`tail -37 "$i" >2`;
`grep -v -E 'Calculating|Remaining' 2 >3`;
echo -e "
" >> 4;
`cut -f2 -d":" <3 >>4`;
\rm 2 3;
done;

Please help me, how do i save the output like
For Channel:response_time__24.txt For Channel:response_time__48.txt
1547 data points 2878 data points
0.339 0.350
0.299 0.305
0.448 0.446
0.581 0.566
7.380 9.070
0.372 0.441

Thanks
Rohit

If this is a routine task then perhaps you are helped with reading both files into a database (sqlite is standard installed on a lot of systems) and export the result: set an autonumber as the first column for both tables and then write a query by matching on the autonumber; the result can be exported to a csv file.

Hope this helps