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 $INFILEIn reply to Re^2: processing huge files
by jhourcle
in thread processing huge files
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |