Re: seperate file

2004-04-29 Thread Rick Measham
On 30 Apr 2004, at 12:20 AM, zunsheng Jiao wrote: Hi all, I'm new on perl. I need to separate a huge file to small files. It has three columns. If first column is a number , use this number as a file name (i. e., 260.dat and 300.dat for following sample), and then writing column 2 and columns 3

Re: seperate file

2004-04-29 Thread Neil Bowers
I need to separate a huge file to small files. It has three columns. If first column is a number , use this number as a file name (i. e., 260.dat and 300.dat for following sample), and then writing column 2 and columns 3 to this file. You didn't say whether you want to preserve anything in the

seperate file

2004-04-29 Thread zunsheng Jiao
Hi all, I'm new on perl. I need to separate a huge file to small files. It has three columns. If first column is a number , use this number as a file name (i. e., 260.dat and 300.dat for following sample), and then writing column 2 and columns 3 to this file. Following is a sample such file: