|
|
| "be consistent" | |
| PerlMonks |
Re^2: processing huge filesby jhourcle (Prior) |
| on Aug 02, 2005 at 09:35 UTC ( [id://480174]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
If you're going to hand off the work to dd, you might want to use split, as it can act on full lines (so won't break in the middle of a record, given the logic the OP was using.). You also don't need to recursively call it, as the equivalent to your dd example would be: split -b 30720m -a 3 $INFILE
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||