On Saturday 24 May 2008, 06:18, Zhang Weiwu wrote:

> Hi.
>
> I got a datasheet from my colleague in MS Excel format and I intend to
> process that file with my awk/sed knowledge. The problem is: he sent
> me two Excel files each with 2134 records, in fact there should be
> only one excel file with 2134 rows and 295 columns, but MS Excel can
> only handle 256 data columns, so he split the datasheet vertically so
> he can manage to send to me.
>
> Now I saved both file to tab-separated-value format, how do I join
> them?

IIUC, you have two files like this:


file1:

col1,col2,col3, ... ,col256
(2134 rows)


file2:

col257,col258, ... ,col295
(2134 rows)


If my understanding is correct, then

paste -d, file1 file2

should do what you want.
Hope this helps.
-- 
[email protected] mailing list

Reply via email to