Re: Splitting A large data file

2002-10-25 Thread Todd Wade
- Original Message - From: "Kipp, James" <[EMAIL PROTECTED]> To: "'Todd W'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 12:13 PM Subject: RE: Splitting A large data file > This is an interesting approach.

RE: Splitting A large data file

2002-10-25 Thread Kipp, James
This is an interesting approach. Of course my Perl OOP skills have atrophied, so I have a few questions if you don't mind. > > #!/usr/bin/perl -w > > use strict; > > # call new() with named args found in init() to override defaults > my( $fSpliter ) = Text::FileSplitter->new(); Is Text:: a pre

RE: Splitting A large data file

2002-10-25 Thread Kipp, James
: Re: Splitting A large data file > > Yeah, I forgot to mention again that Im just playing around. > Always do a > a search at http://search.cpan.org/ before you design your > own solution > because chances are that someone has already solved your > problem. Other >

RE: Splitting A large data file

2002-10-25 Thread Kipp, James
Thanks. I have been away the last couple of days. Question: this is not a binary file, so is binmode still needed ? > -Original Message- > From: Jenda Krynicky [mailto:Jenda@;Krynicky.cz] > Sent: Wednesday, October 23, 2002 5:00 PM > To: [EMAIL PROTECTED] > Subject: Re: Sp

Re: Splitting A large data file

2002-10-24 Thread Todd W
Javeed Sar wrote: i split one perl script, it got split ,i combined it , it's not working??? Though the siza are same. what is the problem. Mak sure you completely read the posts. When you asked how to join them back together I said the following would work: perl -e 'print <>' splitfile.1 s

RE: Splitting A large data file

2002-10-24 Thread Jenda Krynicky
> How to combine it back after split??? > > Regards > j@veed copy /B file1.dat + file2.dat + file3.dat + file4.dat + file5.dat file.dat Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as

Re: Splitting A large data file

2002-10-23 Thread Tanton Gibbs
What happens if you diff the file diff file1 file2 - Original Message - From: "Javeed SAR" <[EMAIL PROTECTED]> To: "Tanton Gibbs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 2:18 AM Subject: RE: Splitting A large data fi

RE: Splitting A large data file

2002-10-23 Thread Javeed SAR
t: Re: Splitting A large data file Also, there is a CPAN utility for doing this http://search.cpan.org/author/SDAGUE/ppt-0.12/bin/split - Original Message - From: "Todd W" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 1:36 AM Subject:

Re: Splitting A large data file

2002-10-23 Thread Todd W
Tanton Gibbs wrote: Also, there is a CPAN utility for doing this Yeah, I forgot to mention again that Im just playing around. Always do a a search at http://search.cpan.org/ before you design your own solution because chances are that someone has already solved your problem. Other than for

Re: Splitting A large data file

2002-10-23 Thread Tanton Gibbs
Also, there is a CPAN utility for doing this http://search.cpan.org/author/SDAGUE/ppt-0.12/bin/split - Original Message - From: "Todd W" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 1:36 AM Subject: Re: Splitting A large data file

Re: Splitting A large data file

2002-10-23 Thread Todd W
Javeed Sar wrote: > How to combine it back after split??? perl -e 'print <>' splitfile.1 splitfile.2 splitfile.3 splitfile.4 splitfile.5 > splitfile.new.txt note the ordering is different, because the program below sends the next record to the next filehandle in a circle. The above one lin

Re: Splitting A large data file

2002-10-23 Thread Tanton Gibbs
perl -pe "" filename1 filename2 filename3 ... > catted_file - Original Message - From: "Javeed SAR" <[EMAIL PROTECTED]> To: "Todd W" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "James Kipp" <[EMAIL PROTECTED]> Sent: Thursday

RE: Splitting A large data file

2002-10-23 Thread Javeed SAR
How to combine it back after split??? Regards j@veed -Original Message- From: Todd W [mailto:trw3@;uakron.edu] Sent: Thursday, October 24, 2002 10:36 AM To: [EMAIL PROTECTED]; James Kipp Subject: Re: Splitting A large data file James Kipp wrote: > I am working on a Windows NT

Re: Splitting A large data file

2002-10-23 Thread Todd W
James Kipp wrote: I am working on a Windows NT box and I don't have the luxury of any file splitting utilities. We have a data file with fixed length records. I was wondering the most efficient way of splitting the file into 5 smaller files. Thought ( Hoping :-) ) some one out there may have done

Re: Splitting A large data file

2002-10-23 Thread Todd W
James Kipp wrote: I am working on a Windows NT box and I don't have the luxury of any file splitting utilities. We have a data file with fixed length records. I was wondering the most efficient way of splitting the file into 5 smaller files. Thought ( Hoping :-) ) some one out there may have done

Re: Splitting A large data file

2002-10-23 Thread Todd W
James Kipp wrote: I am working on a Windows NT box and I don't have the luxury of any file splitting utilities. We have a data file with fixed length records. I was wondering the most efficient way of splitting the file into 5 smaller files. Thought ( Hoping :-) ) some one out there may have done

Re: Splitting A large data file

2002-10-23 Thread Todd W
James Kipp wrote: I am working on a Windows NT box and I don't have the luxury of any file splitting utilities. We have a data file with fixed length records. I was wondering the most efficient way of splitting the file into 5 smaller files. Thought ( Hoping :-) ) some one out there may have done

Re: Splitting A large data file

2002-10-23 Thread Jenda Krynicky
From: "Kipp, James" <[EMAIL PROTECTED]> > I am working on a Windows NT box and I don't have the luxury of any > file splitting utilities. We have a data file with fixed length > records. I was wondering the most efficient way of splitting the file > into 5 smaller files. Thought ( Hoping :-) ) some

Splitting A large data file

2002-10-23 Thread Kipp, James
I am working on a Windows NT box and I don't have the luxury of any file splitting utilities. We have a data file with fixed length records. I was wondering the most efficient way of splitting the file into 5 smaller files. Thought ( Hoping :-) ) some one out there may have done something like this