Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-24 Thread Zhang Weiwu
Etaoin Shrdlu wrote: > On Saturday 24 May 2008, 12:08, Etaoin Shrdlu wrote: > >> If my understanding is correct, then >> >> paste -d, file1 file2 > > If fields are separated by tabs instead of commas, then it's even easier: > > paste file1 file2 > > since "paste" will use as default delimiter.

Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-24 Thread Etaoin Shrdlu
On Saturday 24 May 2008, 12:08, Etaoin Shrdlu wrote: > If my understanding is correct, then > > paste -d, file1 file2 If fields are separated by tabs instead of commas, then it's even easier: paste file1 file2 since "paste" will use as default delimiter. -- gentoo-user@lists.gentoo.org mailin

Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-24 Thread Etaoin Shrdlu
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

Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-23 Thread Tim
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