On Wed, 06 Nov 2002 10:17:00 -0600, [EMAIL PROTECTED] (Robert Citek) wrote:
>>I am trying to take a file of variable length on a daily basis and >>divide it up into 4 equal parts for processing on each file. Does >>someone have an easy way to do this? >Below is a sample script which may lead you in the right direction. If you >call it foo.pl, you can use it like so: > # seq 1 100 | foo.pl >or like so: > # foo.pl some.file.txt There is also cut-file.pl which you might want to look at. It handles binaries well. It's on cpan. http://cpan.org/scripts/index.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]